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