mirror of
https://github.com/davidhalter/parso.git
synced 2025-12-23 12:41:43 +08:00
Remove object inheritance
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user