summaryrefslogtreecommitdiff
path: root/node_classes.py
diff options
context:
space:
mode:
authorEmile Anclin <emile.anclin@logilab.fr>2009-12-07 19:45:22 +0100
committerEmile Anclin <emile.anclin@logilab.fr>2009-12-07 19:45:22 +0100
commit2a27be854718f0aef9cbaab59355db4fb3fa49ff (patch)
treef3dd69012ce1d1da207d2acaf51b491664a4071b /node_classes.py
parent45cb63c3d94f1b198c4e4e251eb3cc152110d2b8 (diff)
downloadastroid-git-2a27be854718f0aef9cbaab59355db4fb3fa49ff.tar.gz
_build_excepthandler method and more
--HG-- branch : rebuild
Diffstat (limited to 'node_classes.py')
-rw-r--r--node_classes.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/node_classes.py b/node_classes.py
index 6f362f9c..38537f10 100644
--- a/node_classes.py
+++ b/node_classes.py
@@ -281,10 +281,7 @@ class EmptyNode(NodeNG):
class ExceptHandler(StmtMixIn, NodeNG):
"""class representing an ExceptHandler node"""
- def __init__(self, exc_type, name, body):
- self.type = exc_type
- self.name = name
- self.body = body
+ def __init__(self):
# 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: