Use long() instead of int() to compare mktime(localtime(t) with t...

This commit is contained in:
Guido van Rossum 1997-12-08 21:48:01 +00:00
parent c5aec05967
commit 6a99984e79
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ if time.ctime(t) <> time.asctime(time.localtime(t)):
print 'time.ctime(t) <> time.asctime(time.localtime(t))'
time.daylight
if int(time.mktime(time.localtime(t))) <> int(t):
if long(time.mktime(time.localtime(t))) <> long(t):
print 'time.mktime(time.localtime(t)) <> t'
time.sleep(1.2)