Skip to content

Commit 116a9c2

Browse files
authored
Merge pull request #777 from numpy/np24/size-axis
2 parents 5b8f7fe + dbbd0ee commit 116a9c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/numpy-stubs/_core/fromnumeric.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1232,7 +1232,7 @@ def cumulative_prod(
12321232

12331233
#
12341234
def ndim(a: ArrayLike) -> int: ...
1235-
def size(a: ArrayLike, axis: int | None = None) -> int: ...
1235+
def size(a: ArrayLike, axis: int | tuple[int, ...] | None = None) -> int: ...
12361236

12371237
#
12381238
@overload

0 commit comments

Comments
 (0)