commit | 66a796e5ab8dd7bfc1fe05a830feb05acdab6f53 | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Tue Dec 19 20:50:34 2006 +0000 |
committer | Georg Brandl <georg@python.org> | Tue Dec 19 20:50:34 2006 +0000 |
tree | 5ce191f813c475bf54c6ab40ecaebb820327a213 | |
parent | 376446dd4e30006c4d4ad09b4cbda8b07e9ce23a [diff] [blame] |
Patch #1601678: move intern() to sys.intern().
diff --git a/Tools/scripts/fixdiv.py b/Tools/scripts/fixdiv.py index 7e1ed0b..b2cab88 100755 --- a/Tools/scripts/fixdiv.py +++ b/Tools/scripts/fixdiv.py
@@ -198,7 +198,7 @@ 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