diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2013-02-09 11:53:09 +0200 |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2013-02-09 11:53:09 +0200 |
commit | 9ea2d55d91c273cfbbdd7acc664070d9ecdcda14 (patch) | |
tree | cc4dc87a255a6c5edec8b1383a648b4e0aa9b497 /Lib/tempfile.py | |
parent | 7611d9a8cf65c30738fd711704f50e9aa2f76ad8 (diff) | |
parent | 19a5214da47623fa3b8a8e321efe04584e2563c7 (diff) | |
download | cpython-git-9ea2d55d91c273cfbbdd7acc664070d9ecdcda14.tar.gz |
Issue #17147. Mention BytesIO in SpooledTemporaryFile documentation.
Diffstat (limited to 'Lib/tempfile.py')
-rw-r--r-- | Lib/tempfile.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/tempfile.py b/Lib/tempfile.py index 0aaee541c3..0785d80996 100644 --- a/Lib/tempfile.py +++ b/Lib/tempfile.py @@ -472,8 +472,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 |