Jelajahi Sumber

grass.py: update docstring

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@34941 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 16 tahun lalu
induk
melakukan
11e35b96da
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      lib/python/grass.py

+ 2 - 2
lib/python/grass.py

@@ -520,8 +520,8 @@ def raster_history(map):
     """Set the command history for a raster map to the command used to
     invoke the script (interface to `r.support').
 
-    @return 1 on success
-    @return 0 on failure
+    @return True on success
+    @return False on failure
     """
     current_mapset = gisenv()['MAPSET']
     if find_file(name = map)['mapset'] == current_mapset: