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
@@ -30,5 +30,5 @@ def sqrt(x:_C) -> complex: ...
|
||||
def tan(x:_C) -> complex: ...
|
||||
def tanh(x:_C) -> complex: ...
|
||||
|
||||
if sys.version_info[0] >= 3:
|
||||
if sys.version_info >= (3,):
|
||||
def isfinite(z:_C) -> bool: ...
|
||||
|
||||
Reference in New Issue
Block a user