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.tex14
1 files changed, 14 insertions, 0 deletions
diff --git a/Doc/lib/libstrio.tex b/Doc/lib/libstrio.tex
new file mode 100644
index 0000000..fdf973f
--- /dev/null
+++ b/Doc/lib/libstrio.tex
@@ -0,0 +1,14 @@
+\section{Standard Module \sectcode{StringIO}}
+
+\stmodindex{StringIO}
+
+This module implements a file-like class, \code{StringIO},
+that read and write a string buffer (also known as {\em memory
+files}). See the description on file objects for operations.
+
+When a \code{StringIO} object is created, it can be initialized
+to an existing string by passing the string to the constructor.
+If no string is given, the \code{StringIO} will start empty.
+
+The method \code{getvalue()} can be called at any time to return the
+contents of the entire ``file'' at any time.