Use floor division operator.

This commit is contained in:
Raymond Hettinger 2004-09-27 15:29:05 +00:00
parent 4837a223ee
commit ffdb8bb99c
7 changed files with 8 additions and 8 deletions

View file

@ -1361,7 +1361,7 @@ def Time2Internaldate(date_time):
zone = -time.altzone
else:
zone = -time.timezone
return '"' + dt + " %+03d%02d" % divmod(zone/60, 60) + '"'
return '"' + dt + " %+03d%02d" % divmod(zone//60, 60) + '"'