Kaydet (Commit) 287d1fdd authored tarafından Alexander Belopolsky's avatar Alexander Belopolsky

Issue #10225: Fixed the simple mistakes in doctests.

üst 477ba919
......@@ -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')
......
......@@ -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
......
......@@ -1878,7 +1878,7 @@ Settings and special methods
>>> cv = screen.getcanvas()
>>> cv
<turtle.ScrolledCanvas instance at 0x...>
<turtle.ScrolledCanvas object at ...>
.. 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