Patch #1601678: move intern() to sys.intern().

This commit is contained in:
Georg Brandl 2006-12-19 20:50:34 +00:00
parent 376446dd4e
commit 66a796e5ab
12 changed files with 81 additions and 73 deletions

View file

@ -198,7 +198,7 @@ def readwarnings(warningsfile):
list = warnings.get(filename)
if list is None:
warnings[filename] = list = []
list.append((int(lineno), intern(what)))
list.append((int(lineno), sys.intern(what)))
f.close()
return warnings