Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
cf40d1b7
Commit
cf40d1b7
authored
Jul 17, 1997
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Note that getvalue() must be called before close().
parent
35504b0b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
+10
-4
Doc/lib/libstrio.tex
Doc/lib/libstrio.tex
+5
-2
Doc/libstrio.tex
Doc/libstrio.tex
+5
-2
No files found.
Doc/lib/libstrio.tex
View file @
cf40d1b7
\section
{
Standard Module
\sectcode
{
StringIO
}}
\label
{
module-StringIO
}
\stmodindex
{
StringIO
}
...
...
@@ -10,5 +11,7 @@ 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 to retrieve the
entire contents of the ``file'' at any time.
The method
\code
{
getvalue()
}
can be called to retrieve the entire
contents of the ``file'' at any time before the
\code
{
StringIO
}
object's
\code
{
close()
}
method is called. Calling
\code
{
close()
}
will
free the memory buffer.
Doc/libstrio.tex
View file @
cf40d1b7
\section
{
Standard Module
\sectcode
{
StringIO
}}
\label
{
module-StringIO
}
\stmodindex
{
StringIO
}
...
...
@@ -10,5 +11,7 @@ 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 to retrieve the
entire contents of the ``file'' at any time.
The method
\code
{
getvalue()
}
can be called to retrieve the entire
contents of the ``file'' at any time before the
\code
{
StringIO
}
object's
\code
{
close()
}
method is called. Calling
\code
{
close()
}
will
free the memory buffer.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment