1
0
forked from VimPlug/jedi

Don't need to inherit from object anymore

This commit is contained in:
Dave Halter
2020-07-26 00:11:57 +02:00
parent e593396417
commit 9d1587a41d
36 changed files with 59 additions and 59 deletions

View File

@@ -30,7 +30,7 @@ class InvalidPythonEnvironment(Exception):
"""
class _BaseEnvironment(object):
class _BaseEnvironment:
@memoize_method
def get_grammar(self):
version_string = '%s.%s' % (self.version_info.major, self.version_info.minor)
@@ -121,7 +121,7 @@ class Environment(_BaseEnvironment):
return self._get_subprocess().get_sys_path()
class _SameEnvironmentMixin(object):
class _SameEnvironmentMixin:
def __init__(self):
self._start_executable = self.executable = sys.executable
self.path = sys.prefix