[Numpy-svn] r5714 - trunk/numpy/doc

numpy-svn@scip... numpy-svn@scip...
Wed Aug 27 05:10:01 CDT 2008

Author: matthew.brett@gmail.com
Date: 2008-08-27 05:09:59 -0500 (Wed, 27 Aug 2008)
New Revision: 5714

Point to example

Modified: trunk/numpy/doc/subclassing.py
--- trunk/numpy/doc/subclassing.py	2008-08-27 10:05:41 UTC (rev 5713)
+++ trunk/numpy/doc/subclassing.py	2008-08-27 10:09:59 UTC (rev 5714)
@@ -191,7 +191,7 @@
 Slightly more realistic example - attribute added to existing array
-Here is a class (with thanks to PierreGM for the original example,
+Here is a class (with thanks to Pierre GM for the original example),
 that takes array that already exists, casts as our type, and adds an
 extra attribute::
@@ -246,9 +246,9 @@
 By defining a specific __array_wrap__ method for our subclass, we can
 tweak the output. The __array_wrap__ method requires one argument, the
 object on which the ufunc is applied, and an optional parameter
-context. This parameter is returned by some ufuncs as a 3-element
+*context*. This parameter is returned by some ufuncs as a 3-element
 tuple: (name of the ufunc, argument of the ufunc, domain of the
+ufunc). See the masked array subclass for an implementation.
 Extra gotchas - custom __del__ methods and ndarray.base

More information about the Numpy-svn mailing list