From: Zachary Ware Date: Sat, 28 Feb 2026 21:12:05 +0000 (-0600) Subject: Destroy the turtle window after its doctests finish (GH-125294) X-Git-Tag: v3.15.0a7~120 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1446d39221b8fc0eb8224d91a020d5c8bc1cd70;p=thirdparty%2FPython%2Fcpython.git Destroy the turtle window after its doctests finish (GH-125294) --- diff --git a/Doc/library/turtle.rst b/Doc/library/turtle.rst index 234042c661f5..20c659756fe1 100644 --- a/Doc/library/turtle.rst +++ b/Doc/library/turtle.rst @@ -16,6 +16,9 @@ import os os.remove("my_drawing.ps") + # Destroy the turtle window after tests are complete + # Imported via star import in testsetup + bye() --------------