From 287d1fdd3fc3d2c9dfa88be69e2ee0a8ae7e5928 Mon Sep 17 00:00:00 2001 From: Alexander Belopolsky Date: Wed, 12 Jan 2011 16:37:14 +0000 Subject: Issue #10225: Fixed the simple mistakes in doctests. --- Doc/library/decimal.rst | 2 +- Doc/library/operator.rst | 2 +- Doc/library/turtle.rst | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Doc/library/decimal.rst b/Doc/library/decimal.rst index bf153ba..9d5b32f 100644 --- a/Doc/library/decimal.rst +++ b/Doc/library/decimal.rst @@ -144,7 +144,7 @@ value of that integer or float. Decimal numbers include special values such as >>> Decimal((0, (3, 1, 4), -2)) Decimal('3.14') >>> Decimal(str(2.0 ** 0.5)) - Decimal('1.41421356237') + Decimal('1.4142135623730951') >>> Decimal(2) ** Decimal('0.5') Decimal('1.414213562373095048801688724') >>> Decimal('NaN') diff --git a/Doc/library/operator.rst b/Doc/library/operator.rst index 3c36f2b..1dc0e14 100644 --- a/Doc/library/operator.rst +++ b/Doc/library/operator.rst @@ -9,7 +9,7 @@ .. testsetup:: import operator - from operator import itemgetter + from operator import itemgetter, iadd The :mod:`operator` module exports a set of functions implemented in C diff --git a/Doc/library/turtle.rst b/Doc/library/turtle.rst index 4f2fbcc..692746f 100644 --- a/Doc/library/turtle.rst +++ b/Doc/library/turtle.rst @@ -1878,7 +1878,7 @@ Settings and special methods >>> cv = screen.getcanvas() >>> cv - + .. function:: getshapes() -- cgit v0.12