diff options
author | Raymond Hettinger <python@rcn.com> | 2002-06-02 18:55:56 +0000 |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2002-06-02 18:55:56 +0000 |
commit | 8a403845e8d0d77926d795926d74f02c5453a856 (patch) | |
tree | 84bf03d633212daaf7d8cddae6887ad8ede50191 /Lib/symtable.py | |
parent | 48221dcb806c98622f5c78c8121af360a53b2c44 (diff) | |
download | cpython-8a403845e8d0d77926d795926d74f02c5453a856.tar.gz |
Replaced .keys() with dictionary iterators
Diffstat (limited to 'Lib/symtable.py')
-rw-r--r-- | Lib/symtable.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/symtable.py b/Lib/symtable.py index 44983358ca..38042ae960 100644 --- a/Lib/symtable.py +++ b/Lib/symtable.py @@ -163,7 +163,7 @@ class Class(SymbolTable): 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: |