From c4e51f99692a56e7b602ff2dcaa23bfca9c4682f Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Sat, 15 Apr 2017 01:47:48 +0200 Subject: [PATCH] Use object for Python 2 classes. --- jedi/parser/python/tree.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jedi/parser/python/tree.py b/jedi/parser/python/tree.py index 175bf437..1dcc215b 100644 --- a/jedi/parser/python/tree.py +++ b/jedi/parser/python/tree.py @@ -102,7 +102,7 @@ class DocstringMixin(object): return '' -class PythonMixin(): +class PythonMixin(object): def get_parent_scope(self, include_flows=False): """ Returns the underlying scope. @@ -259,7 +259,7 @@ class String(Literal): __slots__ = () -class _StringComparisonMixin: +class _StringComparisonMixin(object): def __eq__(self, other): """ Make comparisons with strings easy.