Skip to content

Commit 6621bd3

Browse files
MarieRoaldpicnixzdanielhollas
authored
Apply suggestions from code review
Co-authored-by: Bénédikt Tran <[email protected]> Co-authored-by: Daniel Hollas <[email protected]>
1 parent 28a5ac6 commit 6621bd3

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

Doc/library/turtle.rst

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1326,7 +1326,7 @@ Filling
13261326
>>> turtle.circle(80)
13271327
>>> turtle.end_fill()
13281328

1329-
.. versionadded:: 3.14
1329+
.. versionadded:: next
13301330

13311331

13321332
.. function:: begin_fill()
@@ -1703,8 +1703,8 @@ Special Turtle methods
17031703

17041704
.. function:: poly()
17051705

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

17091709
.. doctest::
17101710
:skipif: _tkinter is None
@@ -1714,7 +1714,7 @@ Special Turtle methods
17141714
... turtle.right(60)
17151715
... turtle.forward(100)
17161716

1717-
.. versionadded:: 3.14
1717+
.. versionadded:: next
17181718

17191719
.. function:: begin_poly()
17201720

@@ -2010,7 +2010,8 @@ Animation control
20102010
... dist += 2
20112011

20122012

2013-
.. versionadded:: 3.14
2013+
.. versionadded:: next
2014+
20142015

20152016
.. function:: delay(delay=None)
20162017

Lib/turtle.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3414,7 +3414,7 @@ def fill(self):
34143414
34153415
Example (for a Turtle instance named turtle):
34163416
>>> turtle.color("black", "red")
3417-
>>> with turtle.poly():
3417+
>>> with turtle.fill():
34183418
... turtle.circle(60)
34193419
"""
34203420
self.begin_fill()

0 commit comments

Comments
 (0)