mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Use floor division operator.
This commit is contained in:
parent
4837a223ee
commit
ffdb8bb99c
7 changed files with 8 additions and 8 deletions
|
@ -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) + '"'
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue