We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
PyArrayDescr::is_unsized
1 parent 853117d commit 67e4719Copy full SHA for 67e4719
src/dtype.rs
@@ -236,12 +236,6 @@ impl PyArrayDescr {
236
unsafe { !(*self.as_dtype_ptr()).names.is_null() }
237
}
238
239
- /// Returns true if the data type is unsized.
240
- pub fn is_unsized(&self) -> bool {
241
- // equivalent to PyDataType_ISUNSIZED(self)
242
- self.itemsize() == 0 && !self.has_fields()
243
- }
244
-
245
/// Returns true if data type byteorder is native, or `None` if not applicable.
246
pub fn is_native_byteorder(&self) -> Option<bool> {
247
// based on PyArray_ISNBO(self->byteorder)
0 commit comments