diff options
| author | Sebastian Berg <sebastian@sipsolutions.net> | 2021-03-23 15:48:53 -0500 |
|---|---|---|
| committer | Sebastian Berg <sebastian@sipsolutions.net> | 2021-03-23 18:10:29 -0500 |
| commit | 605be4f81ffad7475e6e07d6c19fca35c6789c41 (patch) | |
| tree | 80fe58e28dfa3fce9fe6bf486456573f8f47ca75 /numpy | |
| parent | 4b4b6ef78f1174baac462a1e00c9c090c8a47b35 (diff) | |
| download | numpy-605be4f81ffad7475e6e07d6c19fca35c6789c41.tar.gz | |
DOC: Fixup ufunc-argparse release notes and code comments
This is based on Marten's review again.
Diffstat (limited to 'numpy')
| -rw-r--r-- | numpy/core/src/umath/override.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/core/src/umath/override.c b/numpy/core/src/umath/override.c index e218c64c0..d247c2639 100644 --- a/numpy/core/src/umath/override.c +++ b/numpy/core/src/umath/override.c @@ -138,7 +138,7 @@ initialize_normal_kwds(PyObject *out_args, * ufunc() and ufunc.outer() accept 'sig' or 'signature'. We guarantee * that it is passed as 'signature' by renaming 'sig' if present. * Note that we have already validated that only one of them was passed - * before checking for checking for overrides. + * before checking for overrides. */ static int normalize_signature_keyword(PyObject *normal_kwds) @@ -254,7 +254,7 @@ PyUFunc_CheckOverride(PyUFuncObject *ufunc, char *method, * Reduce-like methods can pass keyword arguments also by position, * in which case the additional positional arguments have to be copied * into the keyword argument dictionary. The `__call__` and `__outer__` - * method has to normalize sig and signature. + * method have to normalize sig and signature. */ /* ufunc.__call__ */ |
