summaryrefslogtreecommitdiffstats
path: root/Doc/libstrio.tex
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-04-11 20:05:43 (GMT)
committerFred Drake <fdrake@acm.org>1998-04-11 20:05:43 (GMT)
commit9463de209293ebaec89f9a1fadde4bd036580d73 (patch)
treee91104f739e5c7a67468f9bcb1c3c24fcb7a6862 /Doc/libstrio.tex
parent10032ebb48b4e9b8b2eb7c378d3a579da36204d6 (diff)
downloadcpython-9463de209293ebaec89f9a1fadde4bd036580d73.zip
cpython-9463de209293ebaec89f9a1fadde4bd036580d73.tar.gz
cpython-9463de209293ebaec89f9a1fadde4bd036580d73.tar.bz2
Document cPickle and cStringIO.
Diffstat (limited to 'Doc/libstrio.tex')
-rw-r--r--Doc/libstrio.tex16
1 files changed, 16 insertions, 0 deletions
diff --git a/Doc/libstrio.tex b/Doc/libstrio.tex
index 0088ec3..86ebf46 100644
--- a/Doc/libstrio.tex
+++ b/Doc/libstrio.tex
@@ -24,3 +24,19 @@ Retrieve the entire contents of the ``file'' at any time before the
\begin{methoddesc}{close}{}
Free the memory buffer.
\end{methoddesc}
+
+
+\section{Built-in Module \module{cStringIO}}
+\bimodindex{cStringIO}
+\label{module-cStringIO}
+
+% This section was written by Fred L. Drake, Jr. <fdrake@acm.org>
+
+The module \module{cStringIO} provides an interface similar to that of
+the \module{StringIO} module. Heavy use of \class{StringIO.StringIO}
+objects can be made more efficient by using the function
+\function{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 \module{StringIO} module in that case.