summaryrefslogtreecommitdiffstats
path: root/Lib/base64.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-09-04 19:14:14 (GMT)
committerGuido van Rossum <guido@python.org>2001-09-04 19:14:14 (GMT)
commit54e54c6877329e105406c48490f218faff59db39 (patch)
tree6bbdf1f6efaa2253af424f59dc9564a5458d6739 /Lib/base64.py
parentb8f22749853cf79bfbe3709309e67d1a448f4cab (diff)
downloadcpython-54e54c6877329e105406c48490f218faff59db39.zip
cpython-54e54c6877329e105406c48490f218faff59db39.tar.gz
cpython-54e54c6877329e105406c48490f218faff59db39.tar.bz2
The first batch of changes recommended by the fixdiv tool. These are
mostly changes of / operators into //. Once or twice I did more or less than recommended.
Diffstat (limited to 'Lib/base64.py')
-rwxr-xr-xLib/base64.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/base64.py b/Lib/base64.py
index 44cd03a..3158fdc 100755
--- a/Lib/base64.py
+++ b/Lib/base64.py
@@ -9,7 +9,7 @@ import binascii
__all__ = ["encode","decode","encodestring","decodestring"]
MAXLINESIZE = 76 # Excluding the CRLF
-MAXBINSIZE = (MAXLINESIZE/4)*3
+MAXBINSIZE = (MAXLINESIZE//4)*3
def encode(input, output):
"""Encode a file."""