mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-04 22:34:52 +00:00
Fix method signatures for generated classes
This commit is contained in:
parent
055367fe9c
commit
fb4ae4b17e
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ class {class_name}(Object):
|
||||||
{fields}
|
{fields}
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def read(b: BytesIO) -> "{class_name}":
|
def read(b: BytesIO, *args) -> "{class_name}":
|
||||||
{read_flags}
|
{read_flags}
|
||||||
{read_types}
|
{read_types}
|
||||||
return {class_name}({return_arguments})
|
return {class_name}({return_arguments})
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue