diff options
author | Jaime Fernandez <jaime.frio@gmail.com> | 2015-10-19 19:18:57 -0700 |
---|---|---|
committer | Jaime Fernandez <jaime.frio@gmail.com> | 2015-10-19 19:18:57 -0700 |
commit | b57edaf29a731837f4b39cb68f21693fdccb940f (patch) | |
tree | 85ef28a7c1dca0742c0514dd810e4af48ff15938 /doc/source/reference/arrays.classes.rst | |
parent | d573c634404da658653b35414053bc82f9a358d3 (diff) | |
download | numpy-b57edaf29a731837f4b39cb68f21693fdccb940f.tar.gz |
DOC: fixed typo in arrays.classes.rst
Diffstat (limited to 'doc/source/reference/arrays.classes.rst')
-rw-r--r-- | doc/source/reference/arrays.classes.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/source/reference/arrays.classes.rst b/doc/source/reference/arrays.classes.rst index 1fa84c6c4..5716f4562 100644 --- a/doc/source/reference/arrays.classes.rst +++ b/doc/source/reference/arrays.classes.rst @@ -24,7 +24,7 @@ subclass of an ndarray, then :func:`asanyarray` can be used to allow subclasses to propagate more cleanly through your subroutine. In principal a subclass could redefine any aspect of the array and therefore, under strict guidelines, :func:`asanyarray` would rarely be -useful. However, most subclasses of the arrayobject will not +useful. However, most subclasses of the array object will not redefine certain aspects of the array object such as the buffer interface, or the attributes of the array. One important example, however, of why your subroutine may not be able to handle an arbitrary @@ -47,10 +47,10 @@ Numpy provides several hooks that classes can customize: override behavior of Numpy's ufuncs. This works quite similarly to Python's ``__mul__`` and other binary operation routines. - - *ufunc* is the ufunc object that was called. + - *ufunc* is the ufunc object that was called. - *method* is a string indicating which Ufunc method was called (one of ``"__call__"``, ``"reduce"``, ``"reduceat"``, - ``"accumulate"``, ``"outer"``, ``"inner"``). + ``"accumulate"``, ``"outer"``, ``"inner"``). - *i* is the index of *self* in *inputs*. - *inputs* is a tuple of the input arguments to the ``ufunc`` - *kwargs* is a dictionary containing the optional input arguments |