aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Tilloy <olivier@tilloy.net>2010-01-26 20:39:23 +0100
committerOlivier Tilloy <olivier@tilloy.net>2010-01-26 20:39:23 +0100
commit09b0e86f6f8aefc1a330a095c5887567db44cd96 (patch)
tree54ec78989aa0578d3c32b314efb0242baa7832c9
parent3d47af3fbf3136bbd483e52ab0439e525ee648fb (diff)
downloadpyexiv2-09b0e86f6f8aefc1a330a095c5887567db44cd96.tar.gz
Complete the documentation of the utils module.
-rw-r--r--src/pyexiv2/utils.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/pyexiv2/utils.py b/src/pyexiv2/utils.py
index 314a7a8..c641f62 100644
--- a/src/pyexiv2/utils.py
+++ b/src/pyexiv2/utils.py
@@ -185,10 +185,12 @@ class Rational(object):
@property
def numerator(self):
+ """The numerator of the rational number."""
return self._numerator
@property
def denominator(self):
+ """The denominator of the rational number."""
return self._denominator
@staticmethod
@@ -402,18 +404,22 @@ class GPSCoordinate(object):
@property
def degrees(self):
+ """The degrees component of the coordinate."""
return self._degrees
@property
def minutes(self):
+ """The minutes component of the coordinate."""
return self._minutes
@property
def seconds(self):
+ """The seconds component of the coordinate."""
return self._seconds
@property
def direction(self):
+ """The direction component of the coordinate."""
return self._direction
@staticmethod
@@ -449,9 +455,11 @@ class GPSCoordinate(object):
"""
Compare two GPS coordinates for equality.
+ Two coordinates are equal if and only if all their components are equal.
+
@param other: the GPS coordinate to compare to self for equality
@type other: L{GPSCoordinate}
-
+
@return: C{True} if equal, C{False} otherwise
@rtype: C{bool}
"""