mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
introduce __floor__ and __ceil__ for int in Python 3 (#3306)
This commit is contained in:
committed by
Jelle Zijlstra
parent
83589844c9
commit
cd418e9546
@@ -185,6 +185,8 @@ class int:
|
||||
def __invert__(self) -> int: ...
|
||||
def __trunc__(self) -> int: ...
|
||||
if sys.version_info >= (3,):
|
||||
def __ceil__(self) -> int: ...
|
||||
def __floor__(self) -> int: ...
|
||||
def __round__(self, ndigits: Optional[int] = ...) -> int: ...
|
||||
def __getnewargs__(self) -> Tuple[int]: ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user