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
5fdd119a
Kaydet (Commit)
5fdd119a
authored
Tem 29, 1998
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Clarify the + and b mode characters for open() a bit.
üst
b3563158
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
libfuncs.tex
Doc/lib/libfuncs.tex
+8
-6
No files found.
Doc/lib/libfuncs.tex
Dosyayı görüntüle @
5fdd119a
...
@@ -392,12 +392,14 @@ any kind of sequence; the result is always a list.
...
@@ -392,12 +392,14 @@ any kind of sequence; the result is always a list.
\code
{
'a'
}
opens it for appending (which on
\emph
{
some
}
\UNIX
{}
\code
{
'a'
}
opens it for appending (which on
\emph
{
some
}
\UNIX
{}
systems means that
\emph
{
all
}
writes append to the end of the file,
systems means that
\emph
{
all
}
writes append to the end of the file,
regardless of the current seek position).
regardless of the current seek position).
Modes
\code
{
'r+'
}
,
\code
{
'w+'
}
and
\code
{
'a+'
}
open the file for updating, provided the underlying
Modes
\code
{
'r+'
}
,
\code
{
'w+'
}
and
\code
{
'a+'
}
open the file for
\code
{
stdio
}
library understands this. On systems that differentiate
updating (note that
\code
{
'w+'
}
truncates the file). Append
between binary and text files,
\code
{
'b'
}
appended to the mode opens
\code
{
'b'
}
to the mode to open the file in binary mode, on systems
the file in binary mode. If the file cannot be opened,
that differentiate between binary and text files (else it is
\exception
{
IOError
}
is raised.
ignored). If the file cannot be opened,
\exception
{
IOError
}
is
raised.
If
\var
{
mode
}
is omitted, it defaults to
\code
{
'r'
}
.
If
\var
{
mode
}
is omitted, it defaults to
\code
{
'r'
}
.
The optional
\var
{
bufsize
}
argument specifies the file's desired
The optional
\var
{
bufsize
}
argument specifies the file's desired
buffer size: 0 means unbuffered, 1 means line buffered, any other
buffer size: 0 means unbuffered, 1 means line buffered, any other
...
...
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