8000 MAINT: fix complex64 overload; add str0/bytes to literals · numpy/numpy@12e3e1a · GitHub
[go: up one dir, main page]

Skip to content

Commit 12e3e1a

Browse files
committed
MAINT: fix complex64 overload; add str0/bytes to literals
1 parent 02688c2 commit 12e3e1a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

numpy/__init__.pyi

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -787,7 +787,7 @@ class dtype(Generic[_DTypeScalar]):
787787
],
788788
align: bool = ...,
789789
copy: bool = ...,
790-
) -> dtype[complex128]: ...
790+
) -> dtype[complex64]: ...
791791
@overload
792792
def __new__(
793793
cls,
@@ -820,6 +820,7 @@ class dtype(Generic[_DTypeScalar]):
820820
">S",
821821
"bytes",
822822
"bytes_",
823+
"bytes0",
823824
],
824825
],
825826
align: bool = ...,
@@ -838,6 +839,7 @@ class dtype(Generic[_DTypeScalar]):
838839
# to is platform-dependent.
839840
"str",
840841
"str_",
842+
"str0",
841843
],
842844
],
843845
align: bool = ...,

0 commit comments

Comments
 (0)
0