summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-02-09 09:53:09 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2013-02-09 09:53:09 (GMT)
commit9ea2d55d91c273cfbbdd7acc664070d9ecdcda14 (patch)
treecc4dc87a255a6c5edec8b1383a648b4e0aa9b497 /Lib
parent7611d9a8cf65c30738fd711704f50e9aa2f76ad8 (diff)
parent19a5214da47623fa3b8a8e321efe04584e2563c7 (diff)
downloadcpython-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.py4
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