summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorDimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com>2022-01-10 09:24:25 +0100
committerDimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com>2022-01-10 09:24:25 +0100
commitfd4cdf5dfb0f337ba44051dc5e60a89ddb8c6d5c (patch)
tree5da4531b52078c0337cacc6f28ad1d4692d55e7d /numpy
parentf4a3e07877eb258f69a7d65d8a3b7e8d96e1aacd (diff)
downloadnumpy-fd4cdf5dfb0f337ba44051dc5e60a89ddb8c6d5c.tar.gz
Method without self argument should be static
Diffstat (limited to 'numpy')
-rw-r--r--numpy/core/code_generators/generate_umath.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/numpy/core/code_generators/generate_umath.py b/numpy/core/code_generators/generate_umath.py
index 874a51d47..1844ab96a 100644
--- a/numpy/core/code_generators/generate_umath.py
+++ b/numpy/core/code_generators/generate_umath.py
@@ -14,6 +14,7 @@ MinusInfinity = 'PyFloat_FromDouble(-NPY_INFINITY)'
ReorderableNone = "(Py_INCREF(Py_None), Py_None)"
class docstrings:
+ @staticmethod
def get(place):
"""
Returns the C #definition name of docstring according