Put an extra space into the repr of a Fraction:

Fraction(1, 2) instead of Fraction(1,2).
This commit is contained in:
Mark Dickinson 2008-02-11 03:11:55 +00:00
parent 03d3abf375
commit cd873fc142
3 changed files with 4 additions and 4 deletions

View file

@ -187,7 +187,7 @@ class Fraction(Rational):
def __repr__(self):
"""repr(self)"""
return ('Fraction(%r,%r)' % (self.numerator, self.denominator))
return ('Fraction(%r, %r)' % (self.numerator, self.denominator))
def __str__(self):
"""str(self)"""