diff options
author | Ceridwen <ceridwenv@gmail.com> | 2015-11-06 18:16:41 -0500 |
---|---|---|
committer | Ceridwen <ceridwenv@gmail.com> | 2015-11-06 18:16:41 -0500 |
commit | d052e7e223d32c7afbe8d8a19ff3747025f59982 (patch) | |
tree | d336c42ff5f55840a4703ce6c2f3c133a7e8a34c /astroid/exceptions.py | |
parent | d3d9bcbc91dfb60ee88b1a6667db92fd00172d67 (diff) | |
parent | 2f88b3eb44b6e895f45dd45c709e29a8f365e04f (diff) | |
download | astroid-git-d052e7e223d32c7afbe8d8a19ff3747025f59982.tar.gz |
Merge upstream changes
Diffstat (limited to 'astroid/exceptions.py')
-rw-r--r-- | astroid/exceptions.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/astroid/exceptions.py b/astroid/exceptions.py index ede21d96..e92abc58 100644 --- a/astroid/exceptions.py +++ b/astroid/exceptions.py @@ -57,14 +57,14 @@ class AstroidBuildingException(AstroidError): class NoDefault(AstroidError): """raised by function's `default_value` method when an argument has no default value - + Standard attributes: func: Function node. name: Name of argument without a default. """ func = None name = None - + def __init__(self, message='{func!r} has no default for {name!r}.', **kws): super(NoDefault, self).__init__(message, **kws) @@ -125,7 +125,7 @@ class InferenceError(ResolveError): context: InferenceContext object. """ node = None - context= None + context = None def __init__(self, message='Inference failed for {node!r}.', **kws): super(InferenceError, self).__init__(message, **kws) |