瀏覽代碼

grass.py: update docstring

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@34941 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 16 年之前
父節點
當前提交
11e35b96da
共有 1 個文件被更改,包括 2 次插入2 次删除
  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: