diff options
author | 2013-08-29 11:39:48 +0300 | |
---|---|---|
committer | 2013-08-29 11:39:48 +0300 | |
commit | 48e6a8c88a69adbdc7c3bf9adef5696828b1c5fe (patch) | |
tree | 45c7d23b65375342454fa469c9479b22f6c69a77 /Lib/asynchat.py | |
parent | Issue #18760: Improved cross-references in the xml package. (diff) | |
parent | Issue #18743: Fix references to non-existant "StringIO" module (diff) | |
download | cpython-48e6a8c88a69adbdc7c3bf9adef5696828b1c5fe.tar.gz cpython-48e6a8c88a69adbdc7c3bf9adef5696828b1c5fe.tar.bz2 cpython-48e6a8c88a69adbdc7c3bf9adef5696828b1c5fe.zip |
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 f055d63ba49..0378fa70697 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 |