summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSylvain Thénault <sylvain.thenault@logilab.fr>2009-03-06 15:43:47 +0100
committerSylvain Thénault <sylvain.thenault@logilab.fr>2009-03-06 15:43:47 +0100
commit84f056cbeb445bc173f4782e3f763cce6bbdab29 (patch)
tree26a73bde3a7ddeaeba2d7774a21dfb8aa1b6e438
parent0a4c7b22c678f4c16713199111518b8f832ac3d6 (diff)
downloadastroid-git-84f056cbeb445bc173f4782e3f763cce6bbdab29.tar.gz
needs lineno=0 on module
--HG-- branch : _ast_compat
-rw-r--r--scoped_nodes.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/scoped_nodes.py b/scoped_nodes.py
index 4a07937d..53451d27 100644
--- a/scoped_nodes.py
+++ b/scoped_nodes.py
@@ -169,6 +169,7 @@ class ModuleNG(object):
(see below the class definition)
"""
fromlineno = 0
+ lineno = 0
# attributes below are set by the builder module or by raw factories