aboutsummaryrefslogtreecommitdiffstats
path: root/doc/api.rst
diff options
context:
space:
mode:
authorOlivier Tilloy <olivier@tilloy.net>2011-05-24 11:26:58 +0200
committerOlivier Tilloy <olivier@tilloy.net>2011-05-24 11:26:58 +0200
commitde244517501085dac5a20a47997fdbf77628fe99 (patch)
tree3214bf4e1f0b379fe4ade930a6c43421c80e4e4a /doc/api.rst
parent8d5aabc65a460ecb9e5f1275bc83bf784333afb2 (diff)
downloadpyexiv2-de244517501085dac5a20a47997fdbf77628fe99.tar.gz
Document make_fraction and recommend its use instead of directly instantiating Rational objects.
Diffstat (limited to 'doc/api.rst')
-rw-r--r--doc/api.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/api.rst b/doc/api.rst
index c48769d..a91122b 100644
--- a/doc/api.rst
+++ b/doc/api.rst
@@ -64,6 +64,7 @@ pyexiv2.utils
.. module:: pyexiv2.utils
.. autofunction:: undefined_to_string
.. autofunction:: string_to_undefined
+.. autofunction:: make_fraction
.. autoclass:: Rational
:members: numerator, denominator, from_string, to_float, __eq__