[GRASS-SVN] r68603 - grass/trunk/lib/python/docs/src

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Jun 4 12:30:05 PDT 2016


Author: annakrat
Date: 2016-06-04 12:30:05 -0700 (Sat, 04 Jun 2016)
New Revision: 68603

Modified:
   grass/trunk/lib/python/docs/src/pygrass_vector.rst
Log:
pygrass: update docs after changes in API in r66016, #3010

Modified: grass/trunk/lib/python/docs/src/pygrass_vector.rst
===================================================================
--- grass/trunk/lib/python/docs/src/pygrass_vector.rst	2016-06-04 19:13:42 UTC (rev 68602)
+++ grass/trunk/lib/python/docs/src/pygrass_vector.rst	2016-06-04 19:30:05 UTC (rev 68603)
@@ -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