mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Stomp out more hsa_key() calls.
This commit is contained in:
parent
1b01e5c706
commit
49061f7b8f
7 changed files with 25 additions and 25 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue