Add to an XXX comment.

This commit is contained in:
Guido van Rossum 2007-05-09 23:41:10 +00:00
parent 0e02abb791
commit a5c313dc4d
1 changed files with 2 additions and 1 deletions

View File

@ -601,7 +601,8 @@ class StringIO(_MemoryIOMixin):
# XXX This doesn't work; _MemoryIOMixin's write() and truncate()
# methods assume the buffer is mutable. Simply redefining those
# to use slice concatenation will make it awfully slow (in fact,
# quadratic in the number of write() calls).
# quadratic in the number of write() calls). Also, there are no
# readline() and readlines() methods. Etc., etc.
def __init__(self, inital_string=None):
buffer = ""