[GRASS-SVN] r65090 - grass/branches/releasebranch_7_0/lib/python/docs/src

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Apr 18 11:02:43 PDT 2015


Author: martinl
Date: 2015-04-18 11:02:43 -0700 (Sat, 18 Apr 2015)
New Revision: 65090

Modified:
   grass/branches/releasebranch_7_0/lib/python/docs/src/pygrass_modules.rst
Log:
pygrass manual: add missing import (PIPE)
        (merge r65089 from trunk)


Modified: grass/branches/releasebranch_7_0/lib/python/docs/src/pygrass_modules.rst
===================================================================
--- grass/branches/releasebranch_7_0/lib/python/docs/src/pygrass_modules.rst	2015-04-18 15:26:31 UTC (rev 65089)
+++ grass/branches/releasebranch_7_0/lib/python/docs/src/pygrass_modules.rst	2015-04-18 18:02:43 UTC (rev 65090)
@@ -195,6 +195,7 @@
 
 Another example of use: ::
 
+    >>> from subprocess import PIPE
     >>> info = Module("r.info", map="elevation", flags="r", stdout_=PIPE)
     >>> from grass.script.utils import parse_key_val
     >>> parse_key_val(info.outputs.stdout)



More information about the grass-commit mailing list