diff options
author | Sebastian Berg <sebastian@sipsolutions.net> | 2020-01-31 17:36:44 -0800 |
---|---|---|
committer | Sebastian Berg <sebastian@sipsolutions.net> | 2020-02-01 08:52:58 -0800 |
commit | 6dbfbc5da438ee6025ca26fab1c452b326061076 (patch) | |
tree | 7f13d463e1746e379df6ed94fbd4dbf961018ce1 /numpy/array_api/_array_object.py | |
parent | fa64d4bb9f0ec5dc6518ea0cf742ba78979f046d (diff) | |
download | numpy-6dbfbc5da438ee6025ca26fab1c452b326061076.tar.gz |
MAINT: Use `.identifier = val` to fill type structs
This was not used previously due to it requiring C99. Python
itself acknowledges that it can be used (they do almost not use it
as of now), except inside header files due to C++ compatibility.
See also (Found by Eric Wieser in PR):
https://mail.python.org/pipermail/python-dev/2017-January/147154.html
and PEP 7: https://www.python.org/dev/peps/pep-0007/#c-dialect
Diffstat (limited to 'numpy/array_api/_array_object.py')
0 files changed, 0 insertions, 0 deletions