diff options
author | Emile Anclin <emile.anclin@logilab.fr> | 2010-10-18 10:11:39 +0200 |
---|---|---|
committer | Emile Anclin <emile.anclin@logilab.fr> | 2010-10-18 10:11:39 +0200 |
commit | d60c062cafb56a15388e648aadeff596a53bf8b8 (patch) | |
tree | c6fcffea611f95ed5a68d9f998816ef87d8e745d /bases.py | |
parent | 742e8e32dad058e224fcc0d7c45ed946f85034fb (diff) | |
download | astroid-d60c062cafb56a15388e648aadeff596a53bf8b8.tar.gz |
refactor: add a "is_function" attribute (wip)
Diffstat (limited to 'bases.py')
-rw-r--r-- | bases.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -343,6 +343,7 @@ class NodeNG(BaseClass): """ is_statement = False optional_assign = False # True for For (and for Comprehension if py <3.0) + is_function = False # True for Function nodes # attributes below are set by the builder module or by raw factories lineno = None fromlineno = None |