Returns the C #definition name of docstring according to ufunc place. C #definitions are generated by generate_umath_doc.py in a separate C header.
(place)
| 23 | class docstrings: |
| 24 | @staticmethod |
| 25 | def get(place): |
| 26 | """ |
| 27 | Returns the C #definition name of docstring according |
| 28 | to ufunc place. C #definitions are generated by generate_umath_doc.py |
| 29 | in a separate C header. |
| 30 | """ |
| 31 | return 'DOC_' + place.upper().replace('.', '_') |
| 32 | |
| 33 | # Sentinel value to specify using the full type description in the |
| 34 | # function name |