[Liblas-commits] hg: clean up docstrings for sphinx

liblas-commits at liblas.org liblas-commits at liblas.org
Tue May 11 11:50:11 EDT 2010


changeset 9eff4b122c70 in /Volumes/Data/www/liblas.org/hg
details: http://hg.liblas.orghg?cmd=changeset;node=9eff4b122c70
summary: clean up docstrings for sphinx

diffstat:

 python/liblas/file.py   |   4 ++--
 python/liblas/format.py |  10 +++++-----
 python/liblas/header.py |   6 +++---
 python/liblas/srs.py    |   6 +++---
 4 files changed, 13 insertions(+), 13 deletions(-)

diffs (85 lines):

diff -r efa1e69f369b -r 9eff4b122c70 python/liblas/file.py
--- a/python/liblas/file.py	Tue May 11 10:43:22 2010 -0500
+++ b/python/liblas/file.py	Tue May 11 10:50:06 2010 -0500
@@ -67,8 +67,8 @@
         :type mode: string
         :keyword in_srs: Input SRS to override the existing file's SRS with
         :type in_srs: an :obj:`liblas.srs.SRS` instance
-        :keyword out_srs: Output SRS to reproject points on-the-fly to as they
-        are read/written.
+        :keyword out_srs: Output SRS to reproject points on-the-fly to as \
+        they are read/written.
         :type out_srs: an :obj:`liblas.srs.SRS` instance
 
         .. note::
diff -r efa1e69f369b -r 9eff4b122c70 python/liblas/format.py
--- a/python/liblas/format.py	Tue May 11 10:43:22 2010 -0500
+++ b/python/liblas/format.py	Tue May 11 10:50:06 2010 -0500
@@ -60,15 +60,15 @@
         :type major: integer
         :keyword minor: Minor version value (no validation done)
         :type minor: integer
-        :keyword time: flag to denote whether or not the format has time
+        :keyword time: flag to denote whether or not the format has time \
         values
         :type time: boolean
-        :keyword color: flag to denote whether or not the format has color
+        :keyword color: flag to denote whether or not the format has color \
         values
         :type owned: boolean
-        :keyword size: The size to set for the format. If this value is set to
-        something that is smaller than can represent the given parameters,
-        an exception will be thrown.
+        :keyword size: The size to set for the format. If this value is set \
+        to something that is smaller than can represent the given \
+        parameters, an exception will be thrown.
         :keyword size: integer
         :keyword handle: raw ctypes object
 
diff -r efa1e69f369b -r 9eff4b122c70 python/liblas/header.py
--- a/python/liblas/header.py	Tue May 11 10:43:22 2010 -0500
+++ b/python/liblas/header.py	Tue May 11 10:50:06 2010 -0500
@@ -250,7 +250,7 @@
     doc = """The system identifier. The value is truncated to 31 characters and
             defaults to 'libLAS'
 
-        :arg value: a string that will automatically be truncated to 31
+        :arg value: a string that will automatically be truncated to 31 \
         characters
         :type value: string
 
@@ -289,7 +289,7 @@
     and defaults to 'libLAS 1.LASVERSION' (ie, libLAS 1.6 for the 1.6
     release)
 
-        :arg value: a string that will automatically be truncated to 31
+        :arg value: a string that will automatically be truncated to 31 \
         characters
         :type value: string
 
@@ -340,7 +340,7 @@
 
     doc = """The header's date from a :class`datetime.datetime` instance.
 
-        :arg value: :class:`datetime.datetime` instance or none to use the
+        :arg value: :class:`datetime.datetime` instance or none to use the \
         current time
 
 
diff -r efa1e69f369b -r 9eff4b122c70 python/liblas/srs.py
--- a/python/liblas/srs.py	Tue May 11 10:43:22 2010 -0500
+++ b/python/liblas/srs.py	Tue May 11 10:50:06 2010 -0500
@@ -83,10 +83,10 @@
         normally in the range 5600 to 5799, or -1 if one is not available.
         :keyword citation: a textual description of the vertical coordinate \
         system or an empty string if nothing is available.
-        :keyword verticalDatum: the EPSG vertical datum code, often in the
-        range 5100 to 5299 - implied by verticalCSType if that is provided,
+        :keyword verticalDatum: the EPSG vertical datum code, often in the \
+        range 5100 to 5299 - implied by verticalCSType if that is provided, \
         or -1 if no value is available.
-        :keyword verticalUnits: the EPSG vertical units code, often 9001 for
+        :keyword verticalUnits: the EPSG vertical units code, often 9001 for \
         Metre.
         """
         return core.las.LASSRS_SetVerticalCS(self.handle, verticalCSType,


More information about the Liblas-commits mailing list