~osomon/pyexiv2/pyexiv2-0.3

« back to all changes in this revision

Viewing changes to doc/api.rst

  • Committer: Olivier Tilloy
  • Author(s): Hobson Lane
  • Date: 2011-07-23 07:14:05 UTC
  • mfrom: (355.1.5 rational-repr)
  • Revision ID: olivier@tilloy.net-20110723071405-nd6lx0hmv63d7ed5
Added a __repr__ method to the Rational class.

Show diffs side-by-side

added added

removed removed

Lines of Context:
67
67
.. autofunction:: make_fraction
68
68
 
69
69
.. autoclass:: Rational
70
 
   :members: numerator, denominator, from_string, to_float, __eq__
 
70
   :members: numerator, denominator, from_string, to_float, __eq__, __str__, __repr__
71
71
.. autoclass:: GPSCoordinate
72
72
   :members: degrees, minutes, seconds, direction, from_string, __eq__, __str__
73
73