summaryrefslogtreecommitdiffstats
path: root/Lib/asynchat.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-08-29 08:35:43 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2013-08-29 08:35:43 (GMT)
commit50254c57cd7a562441b7ff385d59c0255301f3ff (patch)
treed9b63adc089c3e60a04668bcb22af1c706a68971 /Lib/asynchat.py
parent15e6590774956a5bbb3a901bf5328869eb44ad49 (diff)
downloadcpython-50254c57cd7a562441b7ff385d59c0255301f3ff.zip
cpython-50254c57cd7a562441b7ff385d59c0255301f3ff.tar.gz
cpython-50254c57cd7a562441b7ff385d59c0255301f3ff.tar.bz2
Issue #18743: Fix references to non-existant "StringIO" module
in docstrings and comments.
Diffstat (limited to 'Lib/asynchat.py')
-rw-r--r--Lib/asynchat.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/Lib/asynchat.py b/Lib/asynchat.py
index 4e26bb5..eea3418 100644
--- a/Lib/asynchat.py
+++ b/Lib/asynchat.py
@@ -69,12 +69,9 @@ class async_chat (asyncore.dispatcher):
# for string terminator matching
self.ac_in_buffer = b''
- # we use a list here rather than cStringIO for a few reasons...
- # del lst[:] is faster than sio.truncate(0)
- # lst = [] is faster than sio.truncate(0)
- # cStringIO will be gaining unicode support in py3k, which
- # will negatively affect the performance of bytes compared to
- # a ''.join() equivalent
+ # we use a list here rather than io.BytesIO for a few reasons...
+ # del lst[:] is faster than bio.truncate(0)
+ # lst = [] is faster than bio.truncate(0)
self.incoming = []
# we toss the use of the "simple producer" and replace it with