diff options
| author | Emile Anclin <emile.anclin@logilab.fr> | 2009-12-01 20:29:30 +0100 |
|---|---|---|
| committer | Emile Anclin <emile.anclin@logilab.fr> | 2009-12-01 20:29:30 +0100 |
| commit | 0398f79f554bb963944c8c2a053af075d7b87941 (patch) | |
| tree | 56fc76fbe469b860f9f2b0802d65fb4df0bec465 /node_classes.py | |
| parent | 0192992e090f07686b94dbfc6aee819348e0802f (diff) | |
| download | astroid-git-0398f79f554bb963944c8c2a053af075d7b87941.tar.gz | |
yet some more corrections
--HG--
branch : rebuild
Diffstat (limited to 'node_classes.py')
| -rw-r--r-- | node_classes.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/node_classes.py b/node_classes.py index e7d298e1..6f362f9c 100644 --- a/node_classes.py +++ b/node_classes.py @@ -202,9 +202,6 @@ class Comprehension(NodeNG): class Const(NodeNG, Instance): - """class representing a Const node""" - -class Const(NodeNG): """represent a Str or Num node""" def __init__(self, value=None): self.value = value @@ -289,6 +286,7 @@ class ExceptHandler(StmtMixIn, NodeNG): self.name = name self.body = body # XXX parent.lineno is wrong, can't catch the right line ... + return # XXX it doesn't work yet if exc_type and exc_type.lineno: self.fromlineno = exc_type.lineno else: |
