SF #515000, print result of f.tell() in test() instead of ignoring

This commit is contained in:
Neal Norwitz 2002-02-11 17:52:18 +00:00
parent a0af63b242
commit 9fb289d826
1 changed files with 1 additions and 1 deletions

View 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)