summaryrefslogtreecommitdiff
path: root/_exceptions.py
diff options
context:
space:
mode:
authorEmile Anclin <emile.anclin@logilab.fr>2009-03-17 09:34:09 +0100
committerEmile Anclin <emile.anclin@logilab.fr>2009-03-17 09:34:09 +0100
commit5deb0f9a581f242584923148d79b615f04ed1b74 (patch)
tree4123ebca68d3a85530f2f9bf17880cc045abdbb1 /_exceptions.py
parent6d845d81b50e576057b02d6a338b4e6edf578e36 (diff)
downloadastroid-git-5deb0f9a581f242584923148d79b615f04ed1b74.tar.gz
delete useless Discard node and catch
--HG-- branch : _ast_compat
Diffstat (limited to '_exceptions.py')
-rw-r--r--_exceptions.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/_exceptions.py b/_exceptions.py
index 722b9bce..c7462635 100644
--- a/_exceptions.py
+++ b/_exceptions.py
@@ -48,3 +48,5 @@ class IgnoreChild(Exception):
"""exception that maybe raised by visit methods to avoid children traversal
"""
+class NodeRemoved(Exception):
+ """exception raised to interrupt the walk when a node is removed"""