[Numpy-svn] r5706 - trunk/numpy/ma

numpy-svn@scip... numpy-svn@scip...
Tue Aug 26 14:32:04 CDT 2008


Author: charris
Date: 2008-08-26 14:32:02 -0500 (Tue, 26 Aug 2008)
New Revision: 5706

Modified:
   trunk/numpy/ma/extras.py
Log:
Small style cleanup. Need work for ticket #893.

Modified: trunk/numpy/ma/extras.py
===================================================================
--- trunk/numpy/ma/extras.py	2008-08-26 19:30:50 UTC (rev 5705)
+++ trunk/numpy/ma/extras.py	2008-08-26 19:32:02 UTC (rev 5706)
@@ -98,10 +98,12 @@
     def __init__(self, funcname):
         self.__name__ = funcname
         self.__doc__ = self.getdoc()
+
     def getdoc(self):
         "Retrieves the __doc__ string from the function."
         return getattr(np, self.__name__).__doc__ +\
             "*Notes*:\n    (The function is applied to both the _data and the _mask, if any.)"
+
     def __call__(self, *args, **params):
         func = getattr(np, self.__name__)
         if len(args)==1:



More information about the Numpy-svn mailing list