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
4be55b5c
Kaydet (Commit)
4be55b5c
authored
May 22, 2002
tarafından
Barry Warsaw
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
file_doc: Add some description of the U mode character, but only when
WITH_UNIVERSAL_NEWLINES is enabled.
üst
24cf7766
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
fileobject.c
Objects/fileobject.c
+10
-0
No files found.
Objects/fileobject.c
Dosyayı görüntüle @
4be55b5c
...
@@ -1697,6 +1697,16 @@ static char file_doc[] =
...
@@ -1697,6 +1697,16 @@ static char file_doc[] =
"Add a '+' to the mode to allow simultaneous reading and writing.
\n
"
"Add a '+' to the mode to allow simultaneous reading and writing.
\n
"
"If the buffering argument is given, 0 means unbuffered, 1 means line
\n
"
"If the buffering argument is given, 0 means unbuffered, 1 means line
\n
"
"buffered, and larger numbers specify the buffer size.
\n
"
"buffered, and larger numbers specify the buffer size.
\n
"
#ifdef WITH_UNIVERSAL_NEWLINES
"Add a 'U' to mode to open the file for input with universal newline
\n
"
"support. Any line ending in the input file will be seen as a '
\\
n'
\n
"
"in Python. Also, a file so opened gains the attribute 'newlines';
\n
"
"the value for this attribute is one of None (no newline read yet),
\n
"
"'
\\
r', '
\\
n', '
\\
r
\\
n' or a tuple containing all the newline types seen.
\n
"
"
\n
"
"'U' cannot be combined with 'w' or '+' mode.
\n
"
#endif
/* WITH_UNIVERSAL_NEWLINES */
"
\n
"
"Note: open() is an alias for file().
\n
"
;
"Note: open() is an alias for file().
\n
"
;
PyTypeObject
PyFile_Type
=
{
PyTypeObject
PyFile_Type
=
{
...
...
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