summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2008-02-11 03:11:55 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2008-02-11 03:11:55 (GMT)
commitcd873fc1428b52620e26e44e19ce00a7ed79555c (patch)
tree5a9ab6230bf67ca6688be050b412a6692f67a989 /Doc/whatsnew
parent03d3abf3755274358ed6f3aeeae273a2779b27bb (diff)
downloadcpython-cd873fc1428b52620e26e44e19ce00a7ed79555c.zip
cpython-cd873fc1428b52620e26e44e19ce00a7ed79555c.tar.gz
cpython-cd873fc1428b52620e26e44e19ce00a7ed79555c.tar.bz2
Put an extra space into the repr of a Fraction:
Fraction(1, 2) instead of Fraction(1,2).
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/2.6.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/whatsnew/2.6.rst b/Doc/whatsnew/2.6.rst
index 83cca99..d37c5ac 100644
--- a/Doc/whatsnew/2.6.rst
+++ b/Doc/whatsnew/2.6.rst
@@ -616,9 +616,9 @@ that will be the numerator and denominator of the resulting fraction. ::
>>> float(a), float(b)
(0.66666666666666663, 0.40000000000000002)
>>> a+b
- Fraction(16,15)
+ Fraction(16, 15)
>>> a/b
- Fraction(5,3)
+ Fraction(5, 3)
The :mod:`fractions` module is based upon an implementation by Sjoerd
Mullender that was in Python's :file:`Demo/classes/` directory for a