summaryrefslogtreecommitdiff
path: root/bases.py
diff options
context:
space:
mode:
authorEmile Anclin <emile.anclin@logilab.fr>2010-10-18 10:11:39 +0200
committerEmile Anclin <emile.anclin@logilab.fr>2010-10-18 10:11:39 +0200
commitd60c062cafb56a15388e648aadeff596a53bf8b8 (patch)
treec6fcffea611f95ed5a68d9f998816ef87d8e745d /bases.py
parent742e8e32dad058e224fcc0d7c45ed946f85034fb (diff)
downloadastroid-d60c062cafb56a15388e648aadeff596a53bf8b8.tar.gz
refactor: add a "is_function" attribute (wip)
Diffstat (limited to 'bases.py')
-rw-r--r--bases.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bases.py b/bases.py
index 015739f..3e187a0 100644
--- a/bases.py
+++ b/bases.py
@@ -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