diff options
author | Emile Anclin <emile.anclin@logilab.fr> | 2010-10-05 16:55:49 +0200 |
---|---|---|
committer | Emile Anclin <emile.anclin@logilab.fr> | 2010-10-05 16:55:49 +0200 |
commit | 80abd40da687c4719c9e8d4f04c8947dc24c9f0e (patch) | |
tree | 153c43e9d68cac183446b370b12cd26a93c50462 /builder.py | |
parent | b71845b1a454e4abda861ddd99f4767bcc7c4d54 (diff) | |
download | astroid-git-80abd40da687c4719c9e8d4f04c8947dc24c9f0e.tar.gz |
remove other has_key occurences
Diffstat (limited to 'builder.py')
-rw-r--r-- | builder.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -153,7 +153,7 @@ class ASTNGBuilder: """recursive method which create a partial ast from real objects (only function, class, and method are handled) """ - if self._done.has_key(obj): + if obj in self._done: return self._done[obj] self._done[obj] = node for name in dir(obj): |