Commit 287d1fdd authored by Alexander Belopolsky's avatar Alexander Belopolsky

Issue #10225: Fixed the simple mistakes in doctests.

parent 477ba919
...@@ -144,7 +144,7 @@ value of that integer or float. Decimal numbers include special values such as ...@@ -144,7 +144,7 @@ value of that integer or float. Decimal numbers include special values such as
>>> Decimal((0, (3, 1, 4), -2)) >>> Decimal((0, (3, 1, 4), -2))
Decimal('3.14') Decimal('3.14')
>>> Decimal(str(2.0 ** 0.5)) >>> Decimal(str(2.0 ** 0.5))
Decimal('1.41421356237') Decimal('1.4142135623730951')
>>> Decimal(2) ** Decimal('0.5') >>> Decimal(2) ** Decimal('0.5')
Decimal('1.414213562373095048801688724') Decimal('1.414213562373095048801688724')
>>> Decimal('NaN') >>> Decimal('NaN')
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
.. testsetup:: .. testsetup::
import operator import operator
from operator import itemgetter from operator import itemgetter, iadd
The :mod:`operator` module exports a set of functions implemented in C The :mod:`operator` module exports a set of functions implemented in C
......
...@@ -1878,7 +1878,7 @@ Settings and special methods ...@@ -1878,7 +1878,7 @@ Settings and special methods
>>> cv = screen.getcanvas() >>> cv = screen.getcanvas()
>>> cv >>> cv
<turtle.ScrolledCanvas instance at 0x...> <turtle.ScrolledCanvas object at ...>
.. function:: getshapes() .. function:: getshapes()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment