Skip to content

Commit b9edbf0

Browse files
authored
Merge pull request #508 from numpy/testgen/ndarray-unops
2 parents 292def7 + 42521cb commit b9edbf0

File tree

7 files changed

+336
-28
lines changed

7 files changed

+336
-28
lines changed

src/numpy-stubs/@test/generated/ndarray_abs.pyi

Lines changed: 61 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/numpy-stubs/@test/generated/ndarray_invert.pyi

Lines changed: 37 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/numpy-stubs/@test/generated/ndarray_neg.pyi

Lines changed: 59 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/numpy-stubs/@test/generated/ndarray_pos.pyi

Lines changed: 59 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/numpy-stubs/__init__.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5478,6 +5478,7 @@ class object_(_RealMixin, generic[Any]):
54785478
def __init__(self, value: object = ..., /) -> None: ...
54795479
@override
54805480
def __hash__(self, /) -> int: ...
5481+
def __abs__(self, /) -> object_: ...
54815482
def __call__(self, /, *args: object, **kwargs: object) -> Any: ...
54825483

54835484
if sys.version_info >= (3, 12):

0 commit comments

Comments
 (0)