Update docs w.r.t. PEP 3100 changes -- patch for GHOP by Dan Finnie.
diff --git a/Doc/tutorial/stdlib.rst b/Doc/tutorial/stdlib.rst
index a474975..725817c 100644
--- a/Doc/tutorial/stdlib.rst
+++ b/Doc/tutorial/stdlib.rst
@@ -121,7 +121,7 @@
floating point math::
>>> import math
- >>> math.cos(math.pi / 4.0)
+ >>> math.cos(math.pi / 4)
0.70710678118654757
>>> math.log(1024, 2)
10.0
@@ -264,7 +264,7 @@
>>> print(average([20, 30, 70]))
40.0
"""
- return sum(values, 0.0) / len(values)
+ return sum(values) / len(values)
import doctest
doctest.testmod() # automatically validate the embedded tests