Let the `axis` argument of [`numpy.size`](https://numpy.org/doc/stable/reference/generated/numpy.size.html) accept a tuple of ints (like other functions that take an `axis` argument) to measure the size for multiple axes.
This should be straightforward to implement with [`itertools.product`](https://docs.python.org/3/library/itertools.html#itertools.product). _______________________________________________ NumPy-Discussion mailing list -- numpy-discussion@python.org To unsubscribe send an email to numpy-discussion-le...@python.org https://mail.python.org/mailman3//lists/numpy-discussion.python.org Member address: arch...@mail-archive.com