Fix type hinting
This commit is contained in:
parent
7b4e8c4330
commit
4c7ce6383d
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ class Path():
|
||||||
return (c >= ord('0') and c <= ord('9'))
|
return (c >= ord('0') and c <= ord('9'))
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def parse(text: str) -> list:
|
def parse(text: str) -> Path:
|
||||||
commands = list()
|
commands = list()
|
||||||
command = PathCommand()
|
command = PathCommand()
|
||||||
state = State.NONE
|
state = State.NONE
|
||||||
|
|
Loading…
Add table
Reference in a new issue