Skip to content

Commit 5ee489b

Browse files
MarieRoaldhugovkdanielhollas
authored
Apply suggestions from code review
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Co-authored-by: Daniel Hollas <danekhollas@gmail.com>
1 parent 3947de1 commit 5ee489b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Doc/library/turtle.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1315,7 +1315,7 @@ Filling
13151315
... turtle.circle(80)
13161316

13171317
Using ``fill`` is equivalent to adding the :func:`begin_fill` before the
1318-
fill-block and :func:`end_fill` after the fill-block
1318+
fill-block and :func:`end_fill` after the fill-block:
13191319

13201320
.. doctest::
13211321
:skipif: _tkinter is None
@@ -1702,7 +1702,7 @@ Special Turtle methods
17021702

17031703
.. function:: poly()
17041704

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

17081708
.. doctest::
@@ -1996,7 +1996,7 @@ Animation control
19961996

19971997
Temporarilly disable turtle animation. The code written inside the
19981998
``no_animation`` block will not be animated, and once the code block is
1999-
exitted, the drawing will appear.
1999+
exited, the drawing will appear.
20002000

20012001
.. doctest::
20022002
:skipif: _tkinter is None

Lib/turtle.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1289,7 +1289,7 @@ def no_animation(self):
12891289
be displayed.
12901290
12911291
Example (for a TurtleScreen instance named screen):
1292-
>>> with turtle.no_animation()
1292+
>>> with screen.no_animation()
12931293
... turtle.circle(50)
12941294
"""
12951295
tracer = self.tracer()

0 commit comments

Comments
 (0)