Skip to content

Commit caa747c

Browse files
committed
Add support for additional numpy data types
1 parent 7ce3b75 commit caa747c

File tree

1 file changed

+4
-0
lines changed
  • pybind11_stubgen/parser/mixins

1 file changed

+4
-0
lines changed

pybind11_stubgen/parser/mixins/fix.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -514,9 +514,13 @@ class FixNumpyArrayDimAnnotation(IParser):
514514
map(
515515
lambda name: QualifiedName.from_str(f"numpy.{name}"),
516516
(
517+
"uint8",
517518
"int8",
519+
"uint16",
518520
"int16",
521+
"uint32",
519522
"int32",
523+
"uint64",
520524
"int64",
521525
"float16",
522526
"float32",

0 commit comments

Comments
 (0)