[Numpy-discussion] Type annotations for NumPy

Marten van Kerkwijk m.h.vankerkwijk at gmail.com
Sat Nov 25 10:21:33 EST 2017


Hi Stephan,

A question of perhaps broader scope than what you were asking for, and
more out of curiosity than anything else, but can one mix type
annotations with others? E.g., in astropy, we have a decorator that
looks for units in the annotations (not dissimilar from dtype, I
guess). Could one mix annotations or does one have to stick with one
purpose?

All the best,

Marten


More information about the NumPy-Discussion mailing list