[GRASS-SVN] r59139 - grass/trunk/lib/python/pygrass/modules/interface
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Feb 25 12:45:03 PST 2014
Author: zarch
Date: 2014-02-25 12:45:02 -0800 (Tue, 25 Feb 2014)
New Revision: 59139
Modified:
grass/trunk/lib/python/pygrass/modules/interface/module.py
Log:
Add the documentation of the GRASS module to the class Module.
Modified: grass/trunk/lib/python/pygrass/modules/interface/module.py
===================================================================
--- grass/trunk/lib/python/pygrass/modules/interface/module.py 2014-02-25 19:29:46 UTC (rev 59138)
+++ grass/trunk/lib/python/pygrass/modules/interface/module.py 2014-02-25 20:45:02 UTC (rev 59139)
@@ -307,6 +307,7 @@
if args or kargs:
self.__call__(*args, **kargs)
+ self.__call__.__func__.__doc__ = self.__doc__
def __call__(self, *args, **kargs):
if not args and not kargs:
More information about the grass-commit
mailing list