Skip to content

Commit 97d7262

Browse files
committed
🐛 add missing "b1" dtype code for bool_
1 parent 3bcd138 commit 97d7262

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/numpy-stubs/_typing/_char_codes.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from typing import Literal, TypeAlias
22

3-
_BoolCodes: TypeAlias = Literal["bool", "bool_", "?", "|?", "=?", "<?", ">?", "\x00"]
3+
_BoolCodes: TypeAlias = Literal["bool", "bool_", "b1", "?", "|?", "=?", "<?", ">?", "\x00"]
44

55
_Int8Codes: TypeAlias = Literal["int8", "byte", "i1", "b", "|i1", "|b", "=i1", "=b", "<i1", "<b", ">i1", ">b", "\x01"]
66
_UInt8Codes: TypeAlias = Literal["uint8", "ubyte", "u1", "B", "|u1", "|B", "=u1", "=B", "<u1", "<B", ">u1", ">B", "\x02"]

0 commit comments

Comments
 (0)