Selaa lähdekoodia

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 vuotta sitten
vanhempi
commit
99f2d2d2b1
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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: