[GRASS-SVN] r60629 - grass/trunk/lib/python/script
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat May 31 05:21:15 PDT 2014
Author: neteler
Date: 2014-05-31 05:21:15 -0700 (Sat, 31 May 2014)
New Revision: 60629
Modified:
grass/trunk/lib/python/script/core.py
Log:
core.py: document grass.separator() (updates r60622)
Modified: grass/trunk/lib/python/script/core.py
===================================================================
--- grass/trunk/lib/python/script/core.py 2014-05-31 09:56:22 UTC (rev 60628)
+++ grass/trunk/lib/python/script/core.py 2014-05-31 12:21:15 UTC (rev 60629)
@@ -676,6 +676,13 @@
def separator(sep):
+ """!Returns separator from G_OPT_F_SEP appropriately converted
+ to character.
+
+ @param separator character or separator keyword
+
+ @return separator character
+ """
if sep == "pipe":
return "|"
elif sep == "comma":
More information about the grass-commit
mailing list