diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2013-02-09 09:53:09 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2013-02-09 09:53:09 (GMT) |
commit | 9ea2d55d91c273cfbbdd7acc664070d9ecdcda14 (patch) | |
tree | cc4dc87a255a6c5edec8b1383a648b4e0aa9b497 /Lib | |
parent | 7611d9a8cf65c30738fd711704f50e9aa2f76ad8 (diff) | |
parent | 19a5214da47623fa3b8a8e321efe04584e2563c7 (diff) | |
download | cpython-9ea2d55d91c273cfbbdd7acc664070d9ecdcda14.zip cpython-9ea2d55d91c273cfbbdd7acc664070d9ecdcda14.tar.gz cpython-9ea2d55d91c273cfbbdd7acc664070d9ecdcda14.tar.bz2 |
Issue #17147. Mention BytesIO in SpooledTemporaryFile documentation.
Diffstat (limited to 'Lib')
-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 0aaee54..0785d80 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 |