summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCeridwen <ceridwenv@gmail.com>2015-11-03 15:01:38 -0500
committerCeridwen <ceridwenv@gmail.com>2015-11-03 15:01:38 -0500
commit2a0ae68ad53ca60b7a31124ea2bef5c219d4e03b (patch)
treea2537d31c81a7202fd8542c76b51a316a89b9645
parentbc55c015163aab7d6be292f67687afec07aeacae (diff)
downloadastroid-2a0ae68ad53ca60b7a31124ea2bef5c219d4e03b.tar.gz
Improve InferenceError for remove_nodes
-rw-r--r--astroid/scoped_nodes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/astroid/scoped_nodes.py b/astroid/scoped_nodes.py
index 9b52135..3b1e18a 100644
--- a/astroid/scoped_nodes.py
+++ b/astroid/scoped_nodes.py
@@ -94,7 +94,7 @@ def remove_nodes(cls):
# TODO: no way to access the context when raising this error.
raise exceptions.AttributeInferenceError(
'No nodes left after removing all {remove_type!r} from '
- 'inferring for {node!r}.',
+ 'nodes inferred for {node!r}.',
node=instance, remove_type=cls)
return nodes
return decorator