diff options
author | Nick Drozd <nicholasdrozd@gmail.com> | 2018-06-28 16:46:38 -0500 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2018-06-28 14:46:38 -0700 |
commit | c5314076a38443d5be1b13567838920bfeaf27cd (patch) | |
tree | 294f7812514a42a37312aaba6fe6e38a11936b4f /astroid/util.py | |
parent | d94f8903a0beaa77d5e735c5d7c19b5e725bbea9 (diff) | |
download | astroid-git-c5314076a38443d5be1b13567838920bfeaf27cd.tar.gz |
Fix useless-object-inheritance lint error (#573)
See https://github.com/PyCQA/pylint/pull/2209
Diffstat (limited to 'astroid/util.py')
-rw-r--r-- | astroid/util.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/astroid/util.py b/astroid/util.py index 75778619..a5310970 100644 --- a/astroid/util.py +++ b/astroid/util.py @@ -23,7 +23,7 @@ def lazy_import(module_name): @object.__new__ -class Uninferable(object): +class Uninferable: """Special inference object, which is returned when inference fails.""" def __repr__(self): return 'Uninferable' @@ -50,7 +50,7 @@ class Uninferable(object): func = getattr(visitor, "visit_uninferable") return func(self) -class BadOperationMessage(object): +class BadOperationMessage: """Object which describes a TypeError occurred somewhere in the inference chain This is not an exception, but a container object which holds the types and |