From: Benjamin Peterson Date: Fri, 3 Jul 2009 14:11:15 +0000 (+0000) Subject: Merged revisions 73812 via svnmerge from X-Git-Tag: v2.6.3rc1~172 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a1c38c19a0f5b27b0c45984ec64d92423a167c12;p=thirdparty%2FPython%2Fcpython.git Merged revisions 73812 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r73812 | benjamin.peterson | 2009-07-03 09:08:20 -0500 (Fri, 03 Jul 2009) | 1 line another cStringIO restriction ........ --- diff --git a/Doc/library/stringio.rst b/Doc/library/stringio.rst index f7f6771c2a73..30a5bac7d4c9 100644 --- a/Doc/library/stringio.rst +++ b/Doc/library/stringio.rst @@ -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