Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
pybind11
Commits
918892b9
Unverified
Commit
918892b9
authored
Jun 07, 2022
by
Maarten Baert
Committed by
GitHub
Jun 06, 2022
Browse files
Make dtype::num() return type consistent with other functions (#3995)
parent
c5fa3436
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
include/pybind11/numpy.h
include/pybind11/numpy.h
+1
-1
No files found.
include/pybind11/numpy.h
View file @
918892b9
...
...
@@ -604,7 +604,7 @@ public:
}
/// type number of dtype.
ssize_
t
num
()
const
{
in
t
num
()
const
{
// Note: The signature, `dtype::num` follows the naming of NumPy's public
// Python API (i.e., ``dtype.num``), rather than its internal
// C API (``PyArray_Descr::type_num``).
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment