summaryrefslogtreecommitdiffstats
path: root/Lib/imaplib.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2004-09-27 15:29:05 (GMT)
committerRaymond Hettinger <python@rcn.com>2004-09-27 15:29:05 (GMT)
commitffdb8bb99c4017152a9dca70669f9d6b9831d454 (patch)
tree561cf9198f1aa05d12d126a1a4afedc549060224 /Lib/imaplib.py
parent4837a223eea09681f0bf41d41882cad5ade0f6ab (diff)
downloadcpython-ffdb8bb99c4017152a9dca70669f9d6b9831d454.zip
cpython-ffdb8bb99c4017152a9dca70669f9d6b9831d454.tar.gz
cpython-ffdb8bb99c4017152a9dca70669f9d6b9831d454.tar.bz2
Use floor division operator.
Diffstat (limited to 'Lib/imaplib.py')
-rw-r--r--Lib/imaplib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/imaplib.py b/Lib/imaplib.py
index f5481d7..6a74728 100644
--- a/Lib/imaplib.py
+++ b/Lib/imaplib.py
@@ -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) + '"'