diff -r 25722e983ada Doc/library/colorsys.rst --- a/Doc/library/colorsys.rst Fri Oct 19 20:40:18 2012 +0300 +++ b/Doc/library/colorsys.rst Sun Oct 21 13:55:29 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 25722e983ada Doc/library/filecmp.rst --- a/Doc/library/filecmp.rst Fri Oct 19 20:40:18 2012 +0300 +++ b/Doc/library/filecmp.rst Sun Oct 21 13:55:29 2012 -0500 @@ -176,6 +176,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 25722e983ada Doc/library/fractions.rst --- a/Doc/library/fractions.rst Fri Oct 19 20:40:18 2012 +0300 +++ b/Doc/library/fractions.rst Sun Oct 21 13:55:29 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 25722e983ada Doc/library/math.rst --- a/Doc/library/math.rst Fri Oct 19 20:40:18 2012 +0300 +++ b/Doc/library/math.rst Sun Oct 21 13:55:29 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 25722e983ada Doc/library/string.rst --- a/Doc/library/string.rst Fri Oct 19 20:40:18 2012 +0300 +++ b/Doc/library/string.rst Sun Oct 21 13:55:29 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 25722e983ada Misc/ACKS --- a/Misc/ACKS Fri Oct 19 20:40:18 2012 +0300 +++ b/Misc/ACKS Sun Oct 21 13:55:29 2012 -0500 @@ -1083,6 +1083,7 @@ Kirill Simonov Nathan Paul Simons Adam Simpkins +Ravi Sinha Janne Sinkkonen Ng Pheng Siong George Sipe