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

@@ -12,7 +12,7 @@ EXPRESSION_PARTS = (
).split()
class ChangedFile(object):
class ChangedFile:
def __init__(self, inference_state, from_path, to_path,
module_node, node_to_str_map):
self._inference_state = inference_state
@@ -72,7 +72,7 @@ class ChangedFile(object):
return '<%s: %s>' % (self.__class__.__name__, self._from_path)
class Refactoring(object):
class Refactoring:
def __init__(self, inference_state, file_to_node_changes, renames=()):
self._inference_state = inference_state
self._renames = renames