summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorBas van Beek <b.f.van.beek@vu.nl>2020-10-16 16:25:28 +0200
committerBas van Beek <b.f.van.beek@vu.nl>2020-10-17 18:05:12 +0200
commit3ebabec4a68f980bc680d8fa8445fb08aa350e79 (patch)
treee8600180921dd9672a410ec78c01f0cfd8bddaeb /numpy
parentfdf30fb70821462fc636e11c361688e46cfeaccf (diff)
downloadnumpy-3ebabec4a68f980bc680d8fa8445fb08aa350e79.tar.gz
MAINT: Added a missing `__init__` method
Diffstat (limited to 'numpy')
-rw-r--r--numpy/__init__.pyi3
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/__init__.pyi b/numpy/__init__.pyi
index 32b6017ce..f670a5e3b 100644
--- a/numpy/__init__.pyi
+++ b/numpy/__init__.pyi
@@ -1772,8 +1772,9 @@ class timedelta64(generic):
def __rfloordiv__(self, other: timedelta64) -> int64: ...
def __mod__(self, other: timedelta64) -> timedelta64: ...
-class unsignedinteger(integer[_NBit_co]): # type: ignore
+class unsignedinteger(integer[_NBit_co]):
# NOTE: `uint64 + signedinteger -> float64`
+ def __init__(self, __value: _IntValue = ...) -> None: ...
__add__: _UnsignedIntOp[_NBit_co]
__radd__: _UnsignedIntOp[_NBit_co]
__sub__: _UnsignedIntOp[_NBit_co]