mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
Use lowercase tuple where possible (#6170)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import sys
|
||||
from _typeshed import SupportsTrunc
|
||||
from typing import Iterable, SupportsFloat, SupportsInt, Tuple, overload
|
||||
from typing import Iterable, SupportsFloat, SupportsInt, overload
|
||||
|
||||
e: float
|
||||
pi: float
|
||||
@@ -36,7 +36,7 @@ def fabs(__x: SupportsFloat) -> float: ...
|
||||
def factorial(__x: SupportsInt) -> int: ...
|
||||
def floor(__x: SupportsFloat) -> int: ...
|
||||
def fmod(__x: SupportsFloat, __y: SupportsFloat) -> float: ...
|
||||
def frexp(__x: SupportsFloat) -> Tuple[float, int]: ...
|
||||
def frexp(__x: SupportsFloat) -> tuple[float, int]: ...
|
||||
def fsum(__seq: Iterable[float]) -> float: ...
|
||||
def gamma(__x: SupportsFloat) -> float: ...
|
||||
|
||||
@@ -69,7 +69,7 @@ def log(x: SupportsFloat, base: SupportsFloat = ...) -> float: ...
|
||||
def log10(__x: SupportsFloat) -> float: ...
|
||||
def log1p(__x: SupportsFloat) -> float: ...
|
||||
def log2(__x: SupportsFloat) -> float: ...
|
||||
def modf(__x: SupportsFloat) -> Tuple[float, float]: ...
|
||||
def modf(__x: SupportsFloat) -> tuple[float, float]: ...
|
||||
|
||||
if sys.version_info >= (3, 9):
|
||||
def nextafter(__x: SupportsFloat, __y: SupportsFloat) -> float: ...
|
||||
|
||||
Reference in New Issue
Block a user