mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 12:14:27 +08:00
fix reverse comparison in optparse (#1337)
This commit is contained in:
committed by
Guido van Rossum
parent
296f294b75
commit
f8d06c88e5
@@ -14,7 +14,7 @@ SUPPRESS_USAGE = ... # type: _Text
|
||||
|
||||
def check_builtin(option: Option, opt: Any, value: _Text) -> Any: ...
|
||||
def check_choice(option: Option, opt: Any, value: _Text) -> Any: ...
|
||||
if sys.version_info >= (3,):
|
||||
if sys.version_info < (3,):
|
||||
def isbasestring(x: Any) -> bool: ...
|
||||
|
||||
class OptParseError(Exception):
|
||||
|
||||
Reference in New Issue
Block a user