浏览代码

Add the documentation of the GRASS module to the class Module.

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@59139 15284696-431f-4ddb-bdfa-cd5b030d7da7
Pietro Zambelli 11 年之前
父节点
当前提交
99f2d2d2b1
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      lib/python/pygrass/modules/interface/module.py

+ 1 - 0
lib/python/pygrass/modules/interface/module.py

@@ -307,6 +307,7 @@ class Module(object):
 
         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: