Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3536a5c

Browse files
committed
maxint->maxsize. Wouldn't import.
1 parent 79bbbbc commit 3536a5c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/idlelib/CodeContext.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
import Tkinter
1313
from Tkconstants import TOP, LEFT, X, W, SUNKEN
1414
import re
15-
from sys import maxint as INFINITY
15+
from sys import maxsize as INFINITY
1616
from idlelib.configHandler import idleConf
1717

1818
BLOCKOPENERS = set(["class", "def", "elif", "else", "except", "finally", "for",

0 commit comments

Comments
 (0)