diff options
Diffstat (limited to 'astroid/objects.py')
-rw-r--r-- | astroid/objects.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/astroid/objects.py b/astroid/objects.py index b511cda0..888ca36e 100644 --- a/astroid/objects.py +++ b/astroid/objects.py @@ -216,7 +216,7 @@ class ExceptionInstance(bases.Instance): instance = objectmodel.BUILTIN_EXCEPTIONS.get( qname, objectmodel.ExceptionInstanceModel ) - return instance() + return instance()(self) class DictInstance(bases.Instance): |