mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 20:24:30 +08:00
Use variable annotations everywhere (#2909)
This commit is contained in:
committed by
Sebastian Rittau
parent
b3c76aab49
commit
efb67946f8
@@ -5,13 +5,13 @@ from typing import Tuple, Iterable, SupportsFloat, SupportsInt
|
||||
|
||||
import sys
|
||||
|
||||
e = ... # type: float
|
||||
pi = ... # type: float
|
||||
e: float
|
||||
pi: float
|
||||
if sys.version_info >= (3, 5):
|
||||
inf = ... # type: float
|
||||
nan = ... # type: float
|
||||
inf: float
|
||||
nan: float
|
||||
if sys.version_info >= (3, 6):
|
||||
tau = ... # type: float
|
||||
tau: float
|
||||
|
||||
def acos(x: SupportsFloat) -> float: ...
|
||||
def acosh(x: SupportsFloat) -> float: ...
|
||||
|
||||
Reference in New Issue
Block a user