소스 검색

pygrass: update docs after changes in API in https://trac.osgeo.org/grass/changeset/66016, https://trac.osgeo.org/grass/ticket/3010

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@68603 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová 9 년 전
부모
커밋
fa865eaf3d
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      lib/python/docs/src/pygrass_vector.rst

+ 2 - 2
lib/python/docs/src/pygrass_vector.rst

@@ -115,8 +115,8 @@ Import the geometry feature class and add two points:
 
 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: