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
401e17d0
Kaydet (Commit)
401e17d0
authored
Agu 03, 2012
tarafından
Victor Stinner
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
open() / TextIOWrapper doc: make it explicit than newline='\n' doesn't
translate newlines on output.
üst
0c1c0d42
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
12 deletions
+12
-12
functions.rst
Doc/library/functions.rst
+3
-3
io.rst
Doc/library/io.rst
+3
-3
_iomodule.c
Modules/_io/_iomodule.c
+3
-3
textio.c
Modules/_io/textio.c
+3
-3
No files found.
Doc/library/functions.rst
Dosyayı görüntüle @
401e17d0
...
@@ -888,9 +888,9 @@ are always available. They are listed here in alphabetical order.
...
@@ -888,9 +888,9 @@ are always available. They are listed here in alphabetical order.
* On output, if *newline* is ``None``, any ``'\n'`` characters written are
* On output, if *newline* is ``None``, any ``'\n'`` characters written are
translated to the system default line separator, :data:`os.linesep`. If
translated to the system default line separator, :data:`os.linesep`. If
*newline* is ``''``
, no translation takes place. If *newline* is any of
*newline* is ``''``
or ``'\n'``, no translation takes place. If *newline*
the other legal values, any ``'\n'`` characters written are translated to
is any of the other legal values, any ``'\n'`` characters written are
the given string.
t
ranslated to t
he given string.
If *closefd* is ``False`` and a file descriptor rather than a filename was
If *closefd* is ``False`` and a file descriptor rather than a filename was
given, the underlying file descriptor will be kept open when the file is
given, the underlying file descriptor will be kept open when the file is
...
...
Doc/library/io.rst
Dosyayı görüntüle @
401e17d0
...
@@ -770,9 +770,9 @@ Text I/O
...
@@ -770,9 +770,9 @@ Text I/O
* On output, if *newline* is ``None``, any ``'\n'`` characters written are
* On output, if *newline* is ``None``, any ``'\n'`` characters written are
translated to the system default line separator, :data:`os.linesep`. If
translated to the system default line separator, :data:`os.linesep`. If
*newline* is ``''``
, no translation takes place. If *newline* is any of
*newline* is ``''``
or ``'\n'``, no translation takes place. If *newline*
the other legal values, any ``'\n'`` characters written are translated to
is any of the other legal values, any ``'\n'`` characters written are
the given string.
t
ranslated to t
he given string.
If *line_buffering* is ``True``, :meth:`flush` is implied when a call to
If *line_buffering* is ``True``, :meth:`flush` is implied when a call to
write contains a newline character.
write contains a newline character.
...
...
Modules/_io/_iomodule.c
Dosyayı görüntüle @
401e17d0
...
@@ -264,9 +264,9 @@ PyDoc_STRVAR(open_doc,
...
@@ -264,9 +264,9 @@ PyDoc_STRVAR(open_doc,
"
\n
"
"
\n
"
"* On output, if newline is None, any '
\\
n' characters written are
\n
"
"* On output, if newline is None, any '
\\
n' characters written are
\n
"
" translated to the system default line separator, os.linesep. If
\n
"
" translated to the system default line separator, os.linesep. If
\n
"
" newline is ''
, no translation takes place. If newline is any of the
\n
"
" newline is ''
or '
\n
', no translation takes place. If newline is any
\n
"
" o
ther legal values, any '
\\
n' characters written are translated to
\n
"
" o
f the other legal values, any '
\\
n' characters written are translated
\n
"
" the given string.
\n
"
" t
o t
he given string.
\n
"
"
\n
"
"
\n
"
"If closefd is False, the underlying file descriptor will be kept open
\n
"
"If closefd is False, the underlying file descriptor will be kept open
\n
"
"when the file is closed. This does not work when a file name is given
\n
"
"when the file is closed. This does not work when a file name is given
\n
"
...
...
Modules/_io/textio.c
Dosyayı görüntüle @
401e17d0
...
@@ -635,9 +635,9 @@ PyDoc_STRVAR(textiowrapper_doc,
...
@@ -635,9 +635,9 @@ PyDoc_STRVAR(textiowrapper_doc,
"
\n
"
"
\n
"
"* On output, if newline is None, any '
\\
n' characters written are
\n
"
"* On output, if newline is None, any '
\\
n' characters written are
\n
"
" translated to the system default line separator, os.linesep. If
\n
"
" translated to the system default line separator, os.linesep. If
\n
"
" newline is ''
, no translation takes place. If newline is any of the
\n
"
" newline is ''
or '
\n
', no translation takes place. If newline is any
\n
"
" o
ther legal values, any '
\\
n' characters written are translated to
\n
"
" o
f the other legal values, any '
\\
n' characters written are translated
\n
"
" the given string.
\n
"
" t
o t
he given string.
\n
"
"
\n
"
"
\n
"
"If line_buffering is True, a call to flush is implied when a call to
\n
"
"If line_buffering is True, a call to flush is implied when a call to
\n
"
"write contains a newline character."
"write contains a newline character."
...
...
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