mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 12:44:28 +08:00
Fix some errors with --disallow-any-generics (#3276)
See #3267. Covers all of stdlib/2and3.
This commit is contained in:
@@ -40,7 +40,7 @@ else:
|
||||
def floor(x: SupportsFloat) -> float: ...
|
||||
def fmod(x: SupportsFloat, y: SupportsFloat) -> float: ...
|
||||
def frexp(x: SupportsFloat) -> Tuple[float, int]: ...
|
||||
def fsum(iterable: Iterable) -> float: ...
|
||||
def fsum(iterable: Iterable[float]) -> float: ...
|
||||
def gamma(x: SupportsFloat) -> float: ...
|
||||
if sys.version_info >= (3, 5):
|
||||
def gcd(a: int, b: int) -> int: ...
|
||||
|
||||
Reference in New Issue
Block a user