summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libstrio.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/lib/libstrio.tex')
-rw-r--r--Doc/lib/libstrio.tex16
1 files changed, 16 insertions, 0 deletions
diff --git a/Doc/lib/libstrio.tex b/Doc/lib/libstrio.tex
index 0088ec3..86ebf46 100644
--- a/Doc/lib/libstrio.tex
+++ b/Doc/lib/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.