aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorOlivier Tilloy <olivier@tilloy.net>2011-07-23 06:52:27 +0000
committerOlivier Tilloy <olivier@tilloy.net>2011-07-23 06:52:27 +0000
commit9a43f02b9b9fbeec3db5d17e275b3e6e16df8bfa (patch)
tree3a805997490a68858a3ab61c390716705cbe2c8f /src
parent30624e7e706a5a7188e458c374c62f6cac20fc38 (diff)
downloadpyexiv2-9a43f02b9b9fbeec3db5d17e275b3e6e16df8bfa.tar.gz
Simplified the docstring.
Diffstat (limited to 'src')
-rw-r--r--src/pyexiv2/utils.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/pyexiv2/utils.py b/src/pyexiv2/utils.py
index b22bada..8ed9e9c 100644
--- a/src/pyexiv2/utils.py
+++ b/src/pyexiv2/utils.py
@@ -271,10 +271,7 @@ class Rational(object):
def __repr__(self):
"""
- Representation used when object is ouput to string for debug or array
- content display, e.g. print([Rational(1,2),Rational(3,4)]).
-
- :return: string representation of the object (class instance) for debugging
+ :return: the official string representation of the object
:rtype: string
"""
return '%s(%d,%d)' % (self.__class__.__name__,self._numerator,self._denominator)