diff -r d459a9576d6c Doc/library/colorsys.rst --- a/Doc/library/colorsys.rst Sat Oct 20 00:03:46 2012 +1000 +++ b/Doc/library/colorsys.rst Sun Oct 21 14:02:19 2012 -0500 @@ -61,4 +61,4 @@ >>> colorsys.rgb_to_hsv(.3, .4, .2) (0.25, 0.5, 0.4) >>> colorsys.hsv_to_rgb(0.25, 0.5, 0.4) - (0.3, 0.4, 0.2) + (0.30000000000000004, 0.4, 0.2) diff -r d459a9576d6c Doc/library/filecmp.rst --- a/Doc/library/filecmp.rst Sat Oct 20 00:03:46 2012 +1000 +++ b/Doc/library/filecmp.rst Sun Oct 21 14:02:19 2012 -0500 @@ -54,9 +54,9 @@ Example:: >>> import filecmp - >>> filecmp.cmp('undoc.rst', 'undoc.rst') + >>> filecmp.cmp('undoc.rst', 'undoc.rst') # doctest: +SKIP True - >>> filecmp.cmp('undoc.rst', 'index.rst') + >>> filecmp.cmp('undoc.rst', 'index.rst') # doctest: +SKIP False @@ -191,6 +191,6 @@ ... for sub_dcmp in dcmp.subdirs.values(): ... print_diff_files(sub_dcmp) ... - >>> dcmp = dircmp('dir1', 'dir2') - >>> print_diff_files(dcmp) + >>> dcmp = dircmp('dir1', 'dir2') # doctest: +SKIP + >>> print_diff_files(dcmp) #doctest: +SKIP diff -r d459a9576d6c Doc/library/fractions.rst --- a/Doc/library/fractions.rst Sat Oct 20 00:03:46 2012 +1000 +++ b/Doc/library/fractions.rst Sun Oct 21 14:02:19 2012 -0500 @@ -56,7 +56,6 @@ Fraction(0, 1) >>> Fraction('3/7') Fraction(3, 7) - [40794 refs] >>> Fraction(' -3/7 ') Fraction(-3, 7) >>> Fraction('1.414213 \t\n') diff -r d459a9576d6c Doc/library/math.rst --- a/Doc/library/math.rst Sat Oct 20 00:03:46 2012 +1000 +++ b/Doc/library/math.rst Sun Oct 21 14:02:19 2012 -0500 @@ -77,6 +77,8 @@ .. function:: fsum(iterable) +.. testsetup:: + >>> from math import fsum Return an accurate floating point sum of values in the iterable. Avoids loss of precision by tracking multiple intermediate partial sums:: diff -r d459a9576d6c Doc/library/string.rst --- a/Doc/library/string.rst Sat Oct 20 00:03:46 2012 +1000 +++ b/Doc/library/string.rst Sun Oct 21 14:02:19 2012 -0500 @@ -612,7 +612,7 @@ >>> width = 5 >>> for num in range(5,12): ... for base in 'dXob': - ... print('{0:{width}{base}}'.format(num, base=base, width=width), end=' ') + ... print('{0:{width}{base}}'.format(num, base=base, width=width), end='' if base == 'b' else ' ') ... print() ... 5 5 5 101 @@ -698,7 +698,7 @@ >>> Template('Give $who $100').substitute(d) Traceback (most recent call last): [...] - ValueError: Invalid placeholder in string: line 1, col 10 + ValueError: Invalid placeholder in string: line 1, col 11 >>> Template('$who likes $what').substitute(d) Traceback (most recent call last): [...] diff -r d459a9576d6c Misc/ACKS --- a/Misc/ACKS Sat Oct 20 00:03:46 2012 +1000 +++ b/Misc/ACKS Sun Oct 21 14:02:19 2012 -0500 @@ -982,6 +982,7 @@ Ionel Simionescu Kirill Simonov Nathan Paul Simons +Ravi Sinha Janne Sinkkonen Ng Pheng Siong George Sipe