summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2009-07-03 14:08:20 (GMT)
committerBenjamin Peterson <benjamin@python.org>2009-07-03 14:08:20 (GMT)
commit1e139607271c578fb480048bc5311f8bd233436c (patch)
treeff9b0814428dd32c365198f80b5f5b7b54ee650b /Doc
parentfe97ebbf6215d3127e44241fd7beda8465725e31 (diff)
downloadcpython-1e139607271c578fb480048bc5311f8bd233436c.zip
cpython-1e139607271c578fb480048bc5311f8bd233436c.tar.gz
cpython-1e139607271c578fb480048bc5311f8bd233436c.tar.bz2
another cStringIO restriction
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/stringio.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/library/stringio.rst b/Doc/library/stringio.rst
index f7f6771..30a5bac 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