Commit 918892b9 by Maarten Baert Committed by GitHub

Make dtype::num() return type consistent with other functions (#3995)

parent c5fa3436
...@@ -604,7 +604,7 @@ public: ...@@ -604,7 +604,7 @@ public:
} }
/// type number of dtype. /// type number of dtype.
ssize_t num() const { int num() const {
// Note: The signature, `dtype::num` follows the naming of NumPy's public // Note: The signature, `dtype::num` follows the naming of NumPy's public
// Python API (i.e., ``dtype.num``), rather than its internal // Python API (i.e., ``dtype.num``), rather than its internal
// C API (``PyArray_Descr::type_num``). // C API (``PyArray_Descr::type_num``).
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment