]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
another cStringIO restriction
authorBenjamin Peterson <benjamin@python.org>
Fri, 3 Jul 2009 14:08:20 +0000 (14:08 +0000)
committerBenjamin Peterson <benjamin@python.org>
Fri, 3 Jul 2009 14:08:20 +0000 (14:08 +0000)
Doc/library/stringio.rst

index f7f6771c2a73e6d2a5507dbfe9a00f0cc4840502..30a5bac7d4c94d8d0ef996cdbf597c7899dc386b 100644 (file)
@@ -72,8 +72,9 @@ made more efficient by using the function :func:`StringIO` from this module
 instead.
 
 Since this module provides a factory function which returns objects of built-in
-types, there's no way to build your own version using subclassing.  Use the
-original :mod:`StringIO` module in that case.
+types, there's no way to build your own version using subclassing.  It's not
+possible to set attributes on it.  Use the original :mod:`StringIO` module in
+those cases.
 
 Unlike the memory files implemented by the :mod:`StringIO` module, those
 provided by this module are not able to accept Unicode strings that cannot be