diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2002-02-11 17:52:18 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2002-02-11 17:52:18 (GMT) |
commit | 9fb289d826a6defdc53afa7074e6a3e0785153e0 (patch) | |
tree | eb53993ccf8548bf8e378b1a32a4cbc638dd262c /Lib/StringIO.py | |
parent | a0af63b2421916e748700c746e03f1bd1656b074 (diff) | |
download | cpython-9fb289d826a6defdc53afa7074e6a3e0785153e0.zip cpython-9fb289d826a6defdc53afa7074e6a3e0785153e0.tar.gz cpython-9fb289d826a6defdc53afa7074e6a3e0785153e0.tar.bz2 |
SF #515000, print result of f.tell() in test() instead of ignoring
Diffstat (limited to 'Lib/StringIO.py')
-rw-r--r-- | Lib/StringIO.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/StringIO.py b/Lib/StringIO.py index 1840bad..087092e 100644 --- a/Lib/StringIO.py +++ b/Lib/StringIO.py @@ -193,7 +193,7 @@ def test(): f.write(lines[1]) f.seek(0) print 'First line =', `f.readline()` - here = f.tell() + print 'Position =', f.tell() line = f.readline() print 'Second line =', `line` f.seek(-len(line), 1) |