Remove object inheritance

This commit is contained in:
Dave Halter
2020-07-25 18:20:56 +02:00
parent 3c3c0b54dc
commit dcc756a373
16 changed files with 24 additions and 24 deletions

View File

@@ -38,7 +38,7 @@ def _check_error_leaves_nodes(node):
return None
class Differ(object):
class Differ:
grammar = load_grammar()
def initialize(self, code):

View File

@@ -12,7 +12,7 @@ from parso.utils import python_bytes_to_unicode
@total_ordering
class WantedIssue(object):
class WantedIssue:
def __init__(self, code, line, column):
self.code = code
self._line = line

View File

@@ -8,7 +8,7 @@ from parso import parse
from parso.python import tree
class TestsFunctionAndLambdaParsing(object):
class TestsFunctionAndLambdaParsing:
FIXTURES = [
('def my_function(x, y, z) -> str:\n return x + y * z\n', {