mirror of
https://github.com/python/cpython.git
synced 2025-07-09 20:35:26 +00:00
Issue #18743: Fix references to non-existant "StringIO" module
in docstrings and comments.
This commit is contained in:
commit
48e6a8c88a
8 changed files with 15 additions and 24 deletions
|
@ -121,7 +121,7 @@ class StringTruncated(RuntimeError):
|
|||
pass
|
||||
|
||||
class TruncatedStringIO(object):
|
||||
'''Similar to cStringIO, but can truncate the output by raising a
|
||||
'''Similar to io.StringIO, but can truncate the output by raising a
|
||||
StringTruncated exception'''
|
||||
def __init__(self, maxlen=None):
|
||||
self._val = ''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue