summaryrefslogtreecommitdiffstats
path: root/Lib/fractions.py
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2008-06-27 10:11:52 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2008-06-27 10:11:52 (GMT)
commit3af386a5cb935a7efbfa30f33be3be80ed4d71fa (patch)
treebe5ad2753317bf29e60f9e6b90110fca1fbe4d80 /Lib/fractions.py
parent6e7e137cff5853ef0b2258b99df852e1ce098965 (diff)
downloadcpython-3af386a5cb935a7efbfa30f33be3be80ed4d71fa.zip
cpython-3af386a5cb935a7efbfa30f33be3be80ed4d71fa.tar.gz
cpython-3af386a5cb935a7efbfa30f33be3be80ed4d71fa.tar.bz2
Remove trailing 'L's from numerator and denominator in the
repr() of a Fraction instance.
Diffstat (limited to 'Lib/fractions.py')
-rwxr-xr-xLib/fractions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/fractions.py b/Lib/fractions.py
index f06e4d4..3dc8184 100755
--- a/Lib/fractions.py
+++ b/Lib/fractions.py
@@ -203,7 +203,7 @@ class Fraction(Rational):
def __repr__(self):
"""repr(self)"""
- return ('Fraction(%r, %r)' % (self._numerator, self._denominator))
+ return ('Fraction(%s, %s)' % (self._numerator, self._denominator))
def __str__(self):
"""str(self)"""