diff options
-rw-r--r-- | astroid/scoped_nodes.py | 2 |
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 |