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
e40ee509
Kaydet (Commit)
e40ee509
authored
Tem 11, 2010
tarafından
Georg Brandl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#9184: fix default value for "buffering" param of open().
üst
de41bf3d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
functions.rst
Doc/library/functions.rst
+1
-1
_iomodule.c
Modules/_io/_iomodule.c
+1
-1
No files found.
Doc/library/functions.rst
Dosyayı görüntüle @
e40ee509
...
@@ -676,7 +676,7 @@ are always available. They are listed here in alphabetical order.
...
@@ -676,7 +676,7 @@ are always available. They are listed here in alphabetical order.
:meth:`__index__` method that returns an integer.
:meth:`__index__` method that returns an integer.
.. function:: open(file, mode='r', buffering=
None
, encoding=None, errors=None, newline=None, closefd=True)
.. function:: open(file, mode='r', buffering=
-1
, encoding=None, errors=None, newline=None, closefd=True)
Open *file* and return a corresponding stream. If the file cannot be opened,
Open *file* and return a corresponding stream. If the file cannot be opened,
an :exc:`IOError` is raised.
an :exc:`IOError` is raised.
...
...
Modules/_io/_iomodule.c
Dosyayı görüntüle @
e40ee509
...
@@ -176,7 +176,7 @@ PyObject *PyExc_BlockingIOError = (PyObject *)&_PyExc_BlockingIOError;
...
@@ -176,7 +176,7 @@ PyObject *PyExc_BlockingIOError = (PyObject *)&_PyExc_BlockingIOError;
* The main open() function
* The main open() function
*/
*/
PyDoc_STRVAR
(
open_doc
,
PyDoc_STRVAR
(
open_doc
,
"open(file, mode='r', buffering=
None
, encoding=None,
\n
"
"open(file, mode='r', buffering=
-1
, encoding=None,
\n
"
" errors=None, newline=None, closefd=True) -> file object
\n
"
" errors=None, newline=None, closefd=True) -> file object
\n
"
"
\n
"
"
\n
"
"Open file and return a stream. Raise IOError upon failure.
\n
"
"Open file and return a stream. Raise IOError upon failure.
\n
"
...
...
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