distutils.fancy_getopt short option is optional (#3469)

This commit is contained in:
Christopher Hunt
2019-11-20 18:34:04 +08:00
committed by Jukka Lehtosalo
parent 838e02334e
commit e065803980

View File

@@ -5,7 +5,7 @@ from typing import (
TypeVar, overload,
)
_Option = Tuple[str, str, str]
_Option = Tuple[str, Optional[str], str]
_GR = Tuple[List[str], OptionDummy]
def fancy_getopt(options: List[_Option],