testing git.ht
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Python 3.10 required for pattern matching | |
from typing import List | |
def parse_args(argstr: str) -> List: | |
args = [] | |
arg = [] | |
parendepth = 0 | |
for c in argstr: |