diff options
author | Guido van Rossum <guido@python.org> | 2006-08-19 15:28:37 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2006-08-19 15:28:37 (GMT) |
commit | 49061f7b8f8c0e5ca123a545447781e10a3b77d9 (patch) | |
tree | 5baed2fb8165bbff61128f80940ebe2242742017 /Lib/compiler/transformer.py | |
parent | 1b01e5c706a1fd2bef24ec3e67c41b16423bcd7b (diff) | |
download | cpython-49061f7b8f8c0e5ca123a545447781e10a3b77d9.zip cpython-49061f7b8f8c0e5ca123a545447781e10a3b77d9.tar.gz cpython-49061f7b8f8c0e5ca123a545447781e10a3b77d9.tar.bz2 |
Stomp out more hsa_key() calls.
Diffstat (limited to 'Lib/compiler/transformer.py')
-rw-r--r-- | Lib/compiler/transformer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/compiler/transformer.py b/Lib/compiler/transformer.py index 8d256ed..091d599 100644 --- a/Lib/compiler/transformer.py +++ b/Lib/compiler/transformer.py @@ -82,7 +82,7 @@ def extractLineNo(ast): def Node(*args): kind = args[0] - if nodes.has_key(kind): + if kind in nodes: try: return nodes[kind](*args[1:]) except TypeError: |