optparse.check_choice returns value type (#7209)

This commit is contained in:
Nikita Sobolev authored and GitHub committed 2022-02-14 14:14:03 -08:00
1 parent a8141e14ae
commit 4293ad0483
1 file changed
+1 -1
+1 -1
View File
@@ -6,7 +6,7 @@ SUPPRESS_HELP: str
SUPPRESS_USAGE: str
def check_builtin(option: Option, opt: Any, value: str) -> Any: ...
def check_choice(option: Option, opt: Any, value: str) -> Any: ...
def check_choice(option: Option, opt: Any, value: str) -> str: ...
class OptParseError(Exception):
msg: str