commit | e0d4972acc8cfd4b8fb16c074a8031e50fab0f29 | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Sun Jun 02 18:55:56 2002 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Sun Jun 02 18:55:56 2002 +0000 |
tree | b9a9286453c2ee4397618d4483679c3bc531f4b0 | |
parent | 1fab9ee085755ed2f7abcf28794d7c20bd51a97a [diff] [blame] |
Replaced .keys() with dictionary iterators
diff --git a/Lib/symtable.py b/Lib/symtable.py index 4498335..38042ae 100644 --- a/Lib/symtable.py +++ b/Lib/symtable.py
@@ -163,7 +163,7 @@ d = {} for st in self._table.children: d[st.name] = 1 - self.__methods = tuple(d.keys()) + self.__methods = tuple(d) return self.__methods class Symbol: