diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2013-08-29 08:39:48 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2013-08-29 08:39:48 (GMT) |
commit | 48e6a8c88a69adbdc7c3bf9adef5696828b1c5fe (patch) | |
tree | 45c7d23b65375342454fa469c9479b22f6c69a77 /Lib/asynchat.py | |
parent | a8c2a8aa8dcf236355348adf696d2aae8fbe45b2 (diff) | |
parent | 50254c57cd7a562441b7ff385d59c0255301f3ff (diff) | |
download | cpython-48e6a8c88a69adbdc7c3bf9adef5696828b1c5fe.zip cpython-48e6a8c88a69adbdc7c3bf9adef5696828b1c5fe.tar.gz cpython-48e6a8c88a69adbdc7c3bf9adef5696828b1c5fe.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.py | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/Lib/asynchat.py b/Lib/asynchat.py index f055d63..0378fa7 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 |