From: Neal Norwitz Date: Mon, 11 Feb 2002 17:52:18 +0000 (+0000) Subject: SF #515000, print result of f.tell() in test() instead of ignoring X-Git-Tag: v2.3c1~6702 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9fb289d826a6defdc53afa7074e6a3e0785153e0;p=thirdparty%2FPython%2Fcpython.git SF #515000, print result of f.tell() in test() instead of ignoring --- diff --git a/Lib/StringIO.py b/Lib/StringIO.py index 1840baddad31..087092e5c5b8 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)