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

@@ -6,7 +6,7 @@ from parso.python.tokenize import group
unicode_bom = BOM_UTF8.decode('utf-8')
class PrefixPart(object):
class PrefixPart:
def __init__(self, leaf, typ, value, spacing='', start_pos=None):
assert start_pos is not None
self.parent = leaf