mirror of https://github.com/pybind/pybind11
Browse Source
I found that the numpy array tests already contained an empty-shaped array test, but none with data in it. Following PEP 3118, scalars have an empty shape and ndim 0. This works already and is now also documented/covered by a test.pull/1709/head
2 changed files with 10 additions and 0 deletions
Loading…
Reference in new issue