summaryrefslogtreecommitdiffstats
path: root/Lib/tempfile.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-02-09 09:47:20 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2013-02-09 09:47:20 (GMT)
commit23a6726bc849be613c02b76815f26cc75cf4789c (patch)
tree1703de3f7f37498cee09ba3a68321cb1cc1ac6ee /Lib/tempfile.py
parent8135de80f799431d041878315840ef3a7110d0a3 (diff)
parent4f169a7a4df0cfb4da6c7bab40a17dddc083cf2a (diff)
downloadcpython-23a6726bc849be613c02b76815f26cc75cf4789c.zip
cpython-23a6726bc849be613c02b76815f26cc75cf4789c.tar.gz
cpython-23a6726bc849be613c02b76815f26cc75cf4789c.tar.bz2
Issue #17147. Mention BytesIO in SpooledTemporaryFile documentation.
Diffstat (limited to 'Lib/tempfile.py')
-rw-r--r--Lib/tempfile.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/tempfile.py b/Lib/tempfile.py
index 47c60f4..acd717b 100644
--- a/Lib/tempfile.py
+++ b/Lib/tempfile.py
@@ -470,8 +470,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