]> granicus.if.org Git - python/commitdiff
SF #515000, print result of f.tell() in test() instead of ignoring
authorNeal Norwitz <nnorwitz@gmail.com>
Mon, 11 Feb 2002 17:52:18 +0000 (17:52 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Mon, 11 Feb 2002 17:52:18 +0000 (17:52 +0000)
Lib/StringIO.py

index 1840baddad312efac8ca26470277fa6d590c93b8..087092e5c5b828f8aeaab4b13ac4ed958f990b18 100644 (file)
@@ -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)