diff --git a/py/hexagram/path.py b/py/hexagram/path.py index d67bfb0..3a25265 100644 --- a/py/hexagram/path.py +++ b/py/hexagram/path.py @@ -65,7 +65,7 @@ class Path(): return (c >= ord('0') and c <= ord('9')) @staticmethod - def parse(text: str) -> list: + def parse(text: str) -> Path: commands = list() command = PathCommand() state = State.NONE