summaryrefslogtreecommitdiff
path: root/Lib/tokenize.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/tokenize.py')
-rw-r--r--Lib/tokenize.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/tokenize.py b/Lib/tokenize.py
index ad3cf9d162..686ad66f6d 100644
--- a/Lib/tokenize.py
+++ b/Lib/tokenize.py
@@ -319,7 +319,7 @@ def generate_tokens(readline):
if line[pos] == ' ':
column = column + 1
elif line[pos] == '\t':
- column = (column/tabsize + 1)*tabsize
+ column = (column//tabsize + 1)*tabsize
elif line[pos] == '\f':
column = 0
else: