summaryrefslogtreecommitdiffstats
path: root/Objects/intobject.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-01-08 01:26:47 (GMT)
committerGuido van Rossum <guido@python.org>2001-01-08 01:26:47 (GMT)
commit8628206b954541e1d47fe38f4c215ebbdb16baed (patch)
tree64c796873b954bcd4bd6bd68cc289013d7624da2 /Objects/intobject.c
parent3a55f950a95f451e860190975ac43a163e48b820 (diff)
downloadcpython-8628206b954541e1d47fe38f4c215ebbdb16baed.zip
cpython-8628206b954541e1d47fe38f4c215ebbdb16baed.tar.gz
cpython-8628206b954541e1d47fe38f4c215ebbdb16baed.tar.bz2
Let's hope that three time's a charm...
Tim discovered another "bug" in my get_line() code: while the comments said that n<0 was invalid, it was in fact still called with n<0 (when PyFile_GetLine() was called with n<0). In that case fortunately executed the same code as for n==0. Changed the comment to admit this fact, and changed Tim's MS speed hack code to use 'n <= 0' as the criteria for the speed hack.
Diffstat (limited to 'Objects/intobject.c')
0 files changed, 0 insertions, 0 deletions