[GRASS-SVN] r43177 - grass/branches/develbranch_6/doc/python

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Aug 21 08:08:08 EDT 2010


Author: hamish
Date: 2010-08-21 12:08:08 +0000 (Sat, 21 Aug 2010)
New Revision: 43177

Modified:
   grass/branches/develbranch_6/doc/python/example_ctypes.py
Log:
rm C comment cruft

Modified: grass/branches/develbranch_6/doc/python/example_ctypes.py
===================================================================
--- grass/branches/develbranch_6/doc/python/example_ctypes.py	2010-08-21 12:05:54 UTC (rev 43176)
+++ grass/branches/develbranch_6/doc/python/example_ctypes.py	2010-08-21 12:08:08 UTC (rev 43177)
@@ -55,7 +55,7 @@
     sys.exit(1)
 
 
-# determine the inputmap type (CELL/FCELL/DCELL) */
+# determine the inputmap type (CELL/FCELL/DCELL)
 data_type = grass.G_raster_map_type(input, mapset)
 
 if data_type == 0:
@@ -79,6 +79,7 @@
 print "Current region is %d rows x %d columns.\n" % (rows, cols)
 
 # iterate through map rows
+print "Map data:"
 for row_n in xrange(rows):
     # read a row of raster data into memory, then print it
     grass.G_get_raster_row(in_fd, in_rast, row_n, data_type)



More information about the grass-commit mailing list