fix reverse comparison in optparse (#1337)

This commit is contained in:
Jelle Zijlstra
2017-05-26 09:31:30 -07:00
committed by Guido van Rossum
parent 296f294b75
commit f8d06c88e5

View File

@@ -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):