Issue #10225: Fixed the simple mistakes in doctests.

This commit is contained in:
Alexander Belopolsky 2011-01-12 16:37:14 +00:00
parent 477ba919c1
commit 287d1fdd3f
3 changed files with 3 additions and 3 deletions

View file

@ -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')

View file

@ -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

View file

@ -1878,7 +1878,7 @@ Settings and special methods
>>> cv = screen.getcanvas()
>>> cv
<turtle.ScrolledCanvas instance at 0x...>
<turtle.ScrolledCanvas object at ...>
.. function:: getshapes()