commit | 49061f7b8f8c0e5ca123a545447781e10a3b77d9 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Sat Aug 19 15:28:37 2006 +0000 |
committer | Guido van Rossum <guido@python.org> | Sat Aug 19 15:28:37 2006 +0000 |
tree | 5baed2fb8165bbff61128f80940ebe2242742017 | |
parent | 1b01e5c706a1fd2bef24ec3e67c41b16423bcd7b [diff] [blame] |
Stomp out more hsa_key() calls.
diff --git a/Lib/compiler/visitor.py b/Lib/compiler/visitor.py index 9e39d36..f10f560 100644 --- a/Lib/compiler/visitor.py +++ b/Lib/compiler/visitor.py
@@ -84,7 +84,7 @@ meth(node, *args) elif self.VERBOSE > 0: klass = node.__class__ - if not self.examples.has_key(klass): + if klass not in self.examples: self.examples[klass] = klass print print self.visitor