diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2008-02-11 03:11:55 +0000 |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2008-02-11 03:11:55 +0000 |
commit | cd873fc1428b52620e26e44e19ce00a7ed79555c (patch) | |
tree | 5a9ab6230bf67ca6688be050b412a6692f67a989 /Lib/fractions.py | |
parent | 03d3abf3755274358ed6f3aeeae273a2779b27bb (diff) | |
download | cpython-git-cd873fc1428b52620e26e44e19ce00a7ed79555c.tar.gz |
Put an extra space into the repr of a Fraction:
Fraction(1, 2) instead of Fraction(1,2).
Diffstat (limited to 'Lib/fractions.py')
-rwxr-xr-x | Lib/fractions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/fractions.py b/Lib/fractions.py index 3f070de0f1..123ecb6edc 100755 --- a/Lib/fractions.py +++ b/Lib/fractions.py @@ -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)""" |