diff options
author | Jaime Fernandez <jaime.frio@gmail.com> | 2015-03-09 20:56:14 -0700 |
---|---|---|
committer | Jaime Fernandez <jaime.frio@gmail.com> | 2015-03-09 21:36:19 -0700 |
commit | 3a39a0e6ac0d85d3365c0671d8010441180a7d95 (patch) | |
tree | 9a3c0eeb04182098ab4d9a5e37eb09177439373c /doc/source | |
parent | 8e026a2225996e9b790e4c63816c5f6c985a5d20 (diff) | |
download | numpy-3a39a0e6ac0d85d3365c0671d8010441180a7d95.tar.gz |
ENH: Strict checking of ufunc keyword argument names
Raises a TypeError if any of the keyword arguments supplied to a
ufunc does not exactly match the name in the signature. Prior to
this, trailing characters were discarded, e.g. 'out2' would be
treated as if it where 'out'.
Diffstat (limited to 'doc/source')
-rw-r--r-- | doc/source/reference/ufuncs.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/source/reference/ufuncs.rst b/doc/source/reference/ufuncs.rst index f7142bc47..3d5176638 100644 --- a/doc/source/reference/ufuncs.rst +++ b/doc/source/reference/ufuncs.rst @@ -359,7 +359,7 @@ advanced usage and will not typically be used. Defaults to true. If set to false, the output will always be a strict array, not a subtype. -*sig* +*sig* or *signature* Either a data-type, a tuple of data-types, or a special signature string indicating the input and output types of a ufunc. This argument |