summaryrefslogtreecommitdiff
path: root/Lib/StringIO.py
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2002-02-11 17:52:18 +0000
committerNeal Norwitz <nnorwitz@gmail.com>2002-02-11 17:52:18 +0000
commit9fb289d826a6defdc53afa7074e6a3e0785153e0 (patch)
treeeb53993ccf8548bf8e378b1a32a4cbc638dd262c /Lib/StringIO.py
parenta0af63b2421916e748700c746e03f1bd1656b074 (diff)
downloadcpython-git-9fb289d826a6defdc53afa7074e6a3e0785153e0.tar.gz
SF #515000, print result of f.tell() in test() instead of ignoring
Diffstat (limited to 'Lib/StringIO.py')
-rw-r--r--Lib/StringIO.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/StringIO.py b/Lib/StringIO.py
index 1840baddad..087092e5c5 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)