diff options
author | Tim Peters <tim.peters@gmail.com> | 2004-07-18 06:16:08 +0000 |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2004-07-18 06:16:08 +0000 |
commit | 182b5aca27d376b08a2904bed42b751496f932f3 (patch) | |
tree | df13115820dbc879c0fe2eae488c9f8c0215a7da /Tools/framer/example.py | |
parent | e6ddc8b20b493fef2e7cffb2e1351fe1d238857e (diff) | |
download | cpython-git-182b5aca27d376b08a2904bed42b751496f932f3.tar.gz |
Whitespace normalization, via reindent.py.
Diffstat (limited to 'Tools/framer/example.py')
-rw-r--r-- | Tools/framer/example.py | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/Tools/framer/example.py b/Tools/framer/example.py index b77f475d7b..96f6278588 100644 --- a/Tools/framer/example.py +++ b/Tools/framer/example.py @@ -11,7 +11,7 @@ class cStringIO(Module): generality of StringIO, but it provides enough for most applications and is especially useful in conjunction with the pickle module. - + Usage: from cStringIO import StringIO @@ -20,7 +20,7 @@ class cStringIO(Module): an_output_stream.write(some_stuff) ... value = an_output_stream.getvalue() - + an_input_stream = StringIO(a_string) spam = an_input_stream.readline() spam = an_input_stream.read(5) @@ -36,7 +36,7 @@ class cStringIO(Module): class InputType(Type): "Simple type for treating strings as input file streams" - + abbrev = "input" struct = """\ @@ -121,7 +121,6 @@ class cStringIO(Module): def writelines(self, lines): """Write each string in lines.""" - -cStringIO.gen() +cStringIO.gen() |