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
4f169a7a
Kaydet (Commit)
4f169a7a
authored
Şub 09, 2013
tarafından
Serhiy Storchaka
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #17147. Mention BytesIO in SpooledTemporaryFile documentation.
üst
01ad622a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
tempfile.rst
Doc/library/tempfile.rst
+5
-3
tempfile.py
Lib/tempfile.py
+2
-2
No files found.
Doc/library/tempfile.rst
Dosyayı görüntüle @
4f169a7a
...
...
@@ -83,9 +83,11 @@ The module defines the following user-callable items:
causes the file to roll over to an on-disk file regardless of its size.
The returned object is a file-like object whose :attr:`_file` attribute
is either a :class:`StringIO` object or a true file object, depending on
whether :func:`rollover` has been called. This file-like object can be
used in a :keyword:`with` statement, just like a normal file.
is either a :class:`BytesIO` or :class:`StringIO` object (depending on
whether specifies binary or text *mode* was specified) or a true file
object, depending on whether :func:`rollover` has been called. This
file-like object can be used in a :keyword:`with` statement, just like
a normal file.
.. function:: TemporaryDirectory(suffix='', prefix='tmp', dir=None)
...
...
Lib/tempfile.py
Dosyayı görüntüle @
4f169a7a
...
...
@@ -479,8 +479,8 @@ else:
raise
class
SpooledTemporaryFile
:
"""Temporary file wrapper, specialized to switch from
StringIO to a real file when it exceeds a certain size or
"""Temporary file wrapper, specialized to switch from
BytesIO
or
StringIO to a real file when it exceeds a certain size or
when a fileno is needed.
"""
_rolled
=
False
...
...
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