mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Issue #21882: In turtle demos, remove module scope gui and sys calls by
either deleting or moving to the module's main function.
This commit is contained in:
parent
98b6391fd4
commit
f5ac57dc05
7 changed files with 48 additions and 58 deletions
|
@ -1,8 +1,6 @@
|
|||
# colormixer
|
||||
|
||||
from turtle import Screen, Turtle, mainloop
|
||||
import sys
|
||||
sys.setrecursionlimit(20000) # overcomes, for now, an instability of Python 3.0
|
||||
|
||||
class ColorTurtle(Turtle):
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue