[GRASS-SVN] r42418 - grass/branches/develbranch_6/lib/python

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Jun 1 14:01:26 EDT 2010


Author: martinl
Date: 2010-06-01 14:01:25 -0400 (Tue, 01 Jun 2010)
New Revision: 42418

Modified:
   grass/branches/develbranch_6/lib/python/core.py
Log:
lipython: update region() desc
(merge r42417 from trunk)


Modified: grass/branches/develbranch_6/lib/python/core.py
===================================================================
--- grass/branches/develbranch_6/lib/python/core.py	2010-06-01 17:59:10 UTC (rev 42417)
+++ grass/branches/develbranch_6/lib/python/core.py	2010-06-01 18:01:25 UTC (rev 42418)
@@ -507,9 +507,9 @@
     \code
     >>> region = grass.region()
     >>> [region[key] for key in "nsew"]
-    ['4928000', '4914020', '609000', '590010']
+    [228500.0, 215000.0, 645000.0, 630000.0]
     >>> (region['nsres'], region['ewres'])
-    ('30', '30')
+    (10.0, 10.0)
     \endcode
 
     @return dictionary of region values



More information about the grass-commit mailing list