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
3e67d583
Kaydet (Commit)
3e67d583
authored
Eyl 26, 2014
tarafından
Yury Selivanov
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
tempfile: Fix docstring. Issue #21397, patch by R. David Murray.
üst
6c1f0ad6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
tempfile.py
Lib/tempfile.py
+5
-5
No files found.
Lib/tempfile.py
Dosyayı görüntüle @
3e67d583
"""Temporary files.
This module provides generic, low- and high-level interfaces for
creating temporary files and directories.
The interfaces listed
as "safe" just below can be used without fear of race conditions.
Those listed as "unsafe" cannot, and are provided for backwar
d
compatibility only.
creating temporary files and directories.
All of the interfaces
provided by this module can be used without fear of race conditions
except for 'mktemp'. 'mktemp' is subject to race conditions an
d
should not be used; it is provided for backward
compatibility only.
This module also provides some data items to the user:
...
...
@@ -518,7 +518,7 @@ class SpooledTemporaryFile:
else
:
# Setting newline="\n" avoids newline translation;
# this is important because otherwise on Windows we'd
#
h
get double newline translation upon rollover().
# get double newline translation upon rollover().
self
.
_file
=
_io
.
StringIO
(
newline
=
"
\n
"
)
self
.
_max_size
=
max_size
self
.
_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