浏览代码

lipython: update region() desc

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@42417 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 15 年之前
父节点
当前提交
c237412562
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      lib/python/core.py

+ 2 - 2
lib/python/core.py

@@ -507,9 +507,9 @@ def region():
     \code
     \code
     >>> region = grass.region()
     >>> region = grass.region()
     >>> [region[key] for key in "nsew"]
     >>> [region[key] for key in "nsew"]
-    ['4928000', '4914020', '609000', '590010']
+    [228500.0, 215000.0, 645000.0, 630000.0]
     >>> (region['nsres'], region['ewres'])
     >>> (region['nsres'], region['ewres'])
-    ('30', '30')
+    (10.0, 10.0)
     \endcode
     \endcode
 
 
     @return dictionary of region values
     @return dictionary of region values