]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
maxint->maxsize. Wouldn't import.
authorKurt B. Kaiser <kbk@shore.net>
Wed, 12 Dec 2007 17:22:06 +0000 (17:22 +0000)
committerKurt B. Kaiser <kbk@shore.net>
Wed, 12 Dec 2007 17:22:06 +0000 (17:22 +0000)
Lib/idlelib/CodeContext.py

index edeb099343552cb5746cd5fee418bb54a4be5834..3ab6e47e539061884986eff11a09084f2fa3dc84 100644 (file)
@@ -12,7 +12,7 @@ not open blocks are not shown in the context hints pane.
 import Tkinter
 from Tkconstants import TOP, LEFT, X, W, SUNKEN
 import re
-from sys import maxint as INFINITY
+from sys import maxsize as INFINITY
 from idlelib.configHandler import idleConf
 
 BLOCKOPENERS = set(["class", "def", "elif", "else", "except", "finally", "for",