[GRASS-SVN] r70152 - grass/branches/releasebranch_7_0/lib/python/pygrass/modules/interface

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Dec 28 02:12:51 PST 2016


Author: neteler
Date: 2016-12-28 02:12:51 -0800 (Wed, 28 Dec 2016)
New Revision: 70152

Modified:
   grass/branches/releasebranch_7_0/lib/python/pygrass/modules/interface/module.py
Log:
module.py manual: fix example formatting (https://grass.osgeo.org/grass70/manuals/libpython/pygrass.modules.interface.html)

Modified: grass/branches/releasebranch_7_0/lib/python/pygrass/modules/interface/module.py
===================================================================
--- grass/branches/releasebranch_7_0/lib/python/pygrass/modules/interface/module.py	2016-12-28 10:10:51 UTC (rev 70151)
+++ grass/branches/releasebranch_7_0/lib/python/pygrass/modules/interface/module.py	2016-12-28 10:12:51 UTC (rev 70152)
@@ -359,6 +359,7 @@
     "Color table for raster map <test_a> set to 'rules'"
 
     Run a second time
+
     >>> colors.run()
     Module('r.colors')
     >>> stdout, stderr = colors.popen.communicate(input="1 blue")
@@ -369,6 +370,7 @@
     "Color table for raster map <test_a> set to 'rules'"
 
     Multiple run test
+
     >>> colors = Module("r.colors", map="test_a",
     ...                                            color="ryb", run_=False)
     >>> colors.run()



More information about the grass-commit mailing list