Stomp out more hsa_key() calls.

This commit is contained in:
Guido van Rossum 2006-08-19 15:28:37 +00:00
parent 1b01e5c706
commit 49061f7b8f
7 changed files with 25 additions and 25 deletions

View file

@ -84,7 +84,7 @@ class ExampleASTVisitor(ASTVisitor):
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