mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 04:34:28 +08:00
Tweak version tests to help pytype parse them (#374)
This commit is contained in:
committed by
Matthias Kramm
parent
ba349199d7
commit
ac5916c170
@@ -40,7 +40,7 @@ def hypot(x: float, y: float) -> float: ...
|
||||
if sys.version_info >= (3, 5):
|
||||
def isclose(a: float, b: float, rel_tol: float = ..., abs_tol: float = ...) -> bool: ...
|
||||
def isinf(x: float) -> bool: ...
|
||||
if sys.version_info[0] >= 3:
|
||||
if sys.version_info >= (3,):
|
||||
def isfinite(x: float) -> bool: ...
|
||||
def isnan(x: float) -> bool: ...
|
||||
def ldexp(x: float, i: int) -> float: ...
|
||||
|
||||
Reference in New Issue
Block a user