diff options
author | Derek Gustafson <degustaf@gmail.com> | 2016-11-30 15:19:15 +0000 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2016-12-03 13:07:03 +0200 |
commit | ac3e82e9bd8678086325a71a927a06bbc43d415e (patch) | |
tree | c3083323ff3518c414d75b1c424eb7432b6b94e1 /astroid/objects.py | |
parent | 60743e7e19f319af951948a3fcc2804f980293d3 (diff) | |
download | astroid-git-ac3e82e9bd8678086325a71a927a06bbc43d415e.tar.gz |
Remove pylint errors
Diffstat (limited to 'astroid/objects.py')
-rw-r--r-- | astroid/objects.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/astroid/objects.py b/astroid/objects.py index cd3063e1..7a873449 100644 --- a/astroid/objects.py +++ b/astroid/objects.py @@ -56,6 +56,7 @@ class Super(node_classes.NodeNG): *self_class* is the class where the super call is, while *scope* is the function where the super call is. """ + # pylint: disable=unnecessary-lambda special_attributes = util.lazy_descriptor(lambda: objectmodel.SuperModel()) # pylint: disable=super-init-not-called @@ -182,6 +183,7 @@ class ExceptionInstance(bases.Instance): the case of .args. """ + # pylint: disable=unnecessary-lambda special_attributes = util.lazy_descriptor(lambda: objectmodel.ExceptionInstanceModel()) @@ -192,6 +194,7 @@ class DictInstance(bases.Instance): that methods such as .values or .items can be properly inferred. """ + # pylint: disable=unnecessary-lambda special_attributes = util.lazy_descriptor(lambda: objectmodel.DictModel()) |