diff options
author | Olivier Tilloy <olivier@tilloy.net> | 2009-07-22 20:58:05 +0200 |
---|---|---|
committer | Olivier Tilloy <olivier@tilloy.net> | 2009-07-22 20:58:05 +0200 |
commit | 7c23ca87a3e6ff9507a430de01888a09a3ba0900 (patch) | |
tree | af5bb92b7bbee01948a43e6389bc929939b83157 | |
parent | fd3b4d7d42d1b30a550da896915527b2a2e1392c (diff) | |
download | pyexiv2-7c23ca87a3e6ff9507a430de01888a09a3ba0900.tar.gz |
Fixed docstring syntax errors.
-rw-r--r-- | src/pyexiv2.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/pyexiv2.py b/src/pyexiv2.py index 42fde3e..509b323 100644 --- a/src/pyexiv2.py +++ b/src/pyexiv2.py @@ -211,7 +211,7 @@ class Rational(object): @param denominator: the denominator @type denominator: C{long} - @raise C{ZeroDivisionError}: if the denominator equals zero + @raise ZeroDivisionError: if the denominator equals zero """ if denominator == 0: msg = 'Denominator of a rational number cannot be zero.' @@ -514,7 +514,7 @@ class ExifTag(MetadataTag): @return: the value converted to its corresponding python type @rtype: depends on xtype (DOCME) - @raise L{ExifValueError}: if the conversion fails + @raise ExifValueError: if the conversion fails """ if xtype == 'Ascii': # The value may contain a Datetime @@ -578,7 +578,7 @@ class ExifTag(MetadataTag): @return: the value converted to its corresponding string representation @rtype: C{str} - @raise L{ExifValueError}: if the conversion fails + @raise ExifValueError: if the conversion fails """ if xtype == 'Ascii': if type(value) is datetime.datetime: @@ -759,7 +759,7 @@ class IptcTag(MetadataTag): @return: the value converted to its corresponding python type @rtype: depends on xtype (DOCME) - @raise L{IptcValueError}: if the conversion fails + @raise IptcValueError: if the conversion fails """ if xtype == 'Short': try: @@ -825,7 +825,7 @@ class IptcTag(MetadataTag): @return: the value converted to its corresponding string representation @rtype: C{str} - @raise L{IptcValueError}: if the conversion fails + @raise IptcValueError: if the conversion fails """ if xtype == 'Short': if type(value) is int: @@ -961,7 +961,7 @@ class XmpTag(MetadataTag): @return: the value converted to its corresponding python type @rtype: depends on xtype (DOCME) - @raise L{XmpValueError}: if the conversion fails + @raise XmpValueError: if the conversion fails """ if xtype.startswith('bag '): # FIXME: make the value a notifying list. @@ -1121,7 +1121,7 @@ class XmpTag(MetadataTag): @return: the value converted to its corresponding string representation @rtype: C{str} - @raise L{XmpValueError}: if the conversion fails + @raise XmpValueError: if the conversion fails """ if xtype.startswith('bag '): if type(value) in (list, tuple): |