Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
aa1c8d88
Kaydet (Commit)
aa1c8d88
authored
Mar 09, 2009
tarafından
Benjamin Peterson
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fix StringIO constructor docs #5452
üst
ba3fcf17
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
io.rst
Doc/library/io.rst
+4
-4
No files found.
Doc/library/io.rst
Dosyayı görüntüle @
aa1c8d88
...
@@ -637,13 +637,13 @@ Text I/O
...
@@ -637,13 +637,13 @@ Text I/O
Whether line buffering is enabled.
Whether line buffering is enabled.
.. class:: StringIO([initial_value[,
encoding[, errors[, newline]]
]])
.. class:: StringIO([initial_value[,
newline
]])
An in-memory stream for text. It inherits :class:`TextIOWrapper`.
An in-memory stream for text. It inherits :class:`TextIOWrapper`.
Create a new StringIO stream with an initial value, encoding, error handling,
The initial value of the buffer (an empty string by default) can be set by
and newline setting. See :class:`TextIOWrapper`\'s constructor for more
providing *initial_value*. The *newline* argument works like that of
inform
ation.
:class:`TextIOWrapper`. The default is to do no newline transl
ation.
:class:`StringIO` provides this method in addition to those from
:class:`StringIO` provides this method in addition to those from
:class:`TextIOWrapper` and its parents:
:class:`TextIOWrapper` and its parents:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment