summaryrefslogtreecommitdiffstats
path: root/Lib/tempfile.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-02-09 09:46:42 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2013-02-09 09:46:42 (GMT)
commit4f169a7a4df0cfb4da6c7bab40a17dddc083cf2a (patch)
tree9f7e2ae2d33eba2167b52ef14cdff2a550d8cced /Lib/tempfile.py
parent01ad622a2cd73561b66d0f6287cb5b66de0bb0b3 (diff)
downloadcpython-4f169a7a4df0cfb4da6c7bab40a17dddc083cf2a.zip
cpython-4f169a7a4df0cfb4da6c7bab40a17dddc083cf2a.tar.gz
cpython-4f169a7a4df0cfb4da6c7bab40a17dddc083cf2a.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 b8fc18c..86300b6 100644
--- a/Lib/tempfile.py
+++ b/Lib/tempfile.py
@@ -479,8 +479,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