aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)