Tweak version tests to help pytype parse them (#374)

This commit is contained in:
alvarocaceres
2016-07-19 07:43:35 -07:00
committed by Matthias Kramm
parent ba349199d7
commit ac5916c170
3 changed files with 2 additions and 4 deletions
+1 -1
View File
@@ -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: ...