commit | 3af386a5cb935a7efbfa30f33be3be80ed4d71fa | [log] [tgz] |
---|---|---|
author | Mark Dickinson <dickinsm@gmail.com> | Fri Jun 27 10:11:52 2008 +0000 |
committer | Mark Dickinson <dickinsm@gmail.com> | Fri Jun 27 10:11:52 2008 +0000 |
tree | be5ad2753317bf29e60f9e6b90110fca1fbe4d80 | |
parent | 6e7e137cff5853ef0b2258b99df852e1ce098965 [diff] [blame] |
Remove trailing 'L's from numerator and denominator in the repr() of a Fraction instance.
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 @@ 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)"""