Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Bénédikt Tran <[email protected]>
Co-authored-by: Daniel Hollas <[email protected]>
  • Loading branch information
3 people authored Nov 8, 2024
1 parent 28a5ac6 commit 6621bd3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
11 changes: 6 additions & 5 deletions Doc/library/turtle.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1326,7 +1326,7 @@ Filling
>>> turtle.circle(80)
>>> turtle.end_fill()

.. versionadded:: 3.14
.. versionadded:: next


.. function:: begin_fill()
Expand Down Expand Up @@ -1703,8 +1703,8 @@ Special Turtle methods

.. function:: poly()

Record the vertices of a polygon drawn in the ``with turtle.poly():`` block. The first and last vertices will be
connected.
Record the vertices of a polygon drawn in the ``with turtle.poly():`` block.
The first and last vertices will be connected.

.. doctest::
:skipif: _tkinter is None
Expand All @@ -1714,7 +1714,7 @@ Special Turtle methods
... turtle.right(60)
... turtle.forward(100)

.. versionadded:: 3.14
.. versionadded:: next

.. function:: begin_poly()

Expand Down Expand Up @@ -2010,7 +2010,8 @@ Animation control
... dist += 2


.. versionadded:: 3.14
.. versionadded:: next


.. function:: delay(delay=None)

Expand Down
2 changes: 1 addition & 1 deletion Lib/turtle.py
Original file line number Diff line number Diff line change
Expand Up @@ -3414,7 +3414,7 @@ def fill(self):
Example (for a Turtle instance named turtle):
>>> turtle.color("black", "red")
>>> with turtle.poly():
>>> with turtle.fill():
... turtle.circle(60)
"""
self.begin_fill()
Expand Down

0 comments on commit 6621bd3

Please sign in to comment.