commit | 9fb289d826a6defdc53afa7074e6a3e0785153e0 | [log] [tgz] |
---|---|---|
author | Neal Norwitz <nnorwitz@gmail.com> | Mon Feb 11 17:52:18 2002 +0000 |
committer | Neal Norwitz <nnorwitz@gmail.com> | Mon Feb 11 17:52:18 2002 +0000 |
tree | eb53993ccf8548bf8e378b1a32a4cbc638dd262c | |
parent | a0af63b2421916e748700c746e03f1bd1656b074 [diff] [blame] |
SF #515000, print result of f.tell() in test() instead of ignoring
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 @@ 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)