[GRASS-SVN] r68604 - grass/branches/releasebranch_7_2/lib/python/docs/src

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Jun 4 12:34:52 PDT 2016


Author: annakrat
Date: 2016-06-04 12:34:52 -0700 (Sat, 04 Jun 2016)
New Revision: 68604

Modified:
   grass/branches/releasebranch_7_2/lib/python/docs/src/pygrass_vector.rst
Log:
pygrass: update docs after changes in API in r66016, #3010 (merged from trunk, r68603)

Modified: grass/branches/releasebranch_7_2/lib/python/docs/src/pygrass_vector.rst
===================================================================
--- grass/branches/releasebranch_7_2/lib/python/docs/src/pygrass_vector.rst	2016-06-04 19:30:05 UTC (rev 68603)
+++ grass/branches/releasebranch_7_2/lib/python/docs/src/pygrass_vector.rst	2016-06-04 19:34:52 UTC (rev 68604)
@@ -115,8 +115,8 @@
 
 Write the two points to the map:
 
-    >>> new.write(point0, ('pub', ))
-    >>> new.write(point1, ('resturnat', ))
+    >>> new.write(point0, cat=1, attrs=('pub',))
+    >>> new.write(point1, cat=2, attrs=('resturant',))
 
 Commit the db changes:
 



More information about the grass-commit mailing list