diff options
| author | Sylvain Thénault <sylvain.thenault@logilab.fr> | 2009-03-06 10:46:39 +0100 |
|---|---|---|
| committer | Sylvain Thénault <sylvain.thenault@logilab.fr> | 2009-03-06 10:46:39 +0100 |
| commit | fb3a0dd20e6681223d811d5fd59d14ea0417c65b (patch) | |
| tree | e35c89796df0775383d0d9f123aa44405db43482 /nodes.py | |
| parent | 864d2f31b0d30a25d5986cb8682c5500454da6c8 (diff) | |
| download | astroid-git-fb3a0dd20e6681223d811d5fd59d14ea0417c65b.tar.gz | |
fix 2.4 support (more to be done)
--HG--
branch : _ast_compat
Diffstat (limited to 'nodes.py')
| -rw-r--r-- | nodes.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -587,7 +587,7 @@ class NoneType(Instance, NodeNG): def __repr__(self): return 'None' def get_children(self): - return () + return iter(()) __str__ = __repr__ class Bool(Instance, NodeNG): @@ -600,7 +600,7 @@ class Bool(Instance, NodeNG): def __repr__(self): return str(self.value) def get_children(self): - return () + return iter(()) __str__ = __repr__ CONST_NAME_TRANSFORMS = {'None': (NoneType, None), |
