summaryrefslogtreecommitdiffstats
path: root/Lib/lib-tk
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2014-06-30 20:09:16 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2014-06-30 20:09:16 (GMT)
commitf7f746a82859d94d4f7bee7842e6b28db051554a (patch)
treef6558a7b6041242d18e80d8078826a9d26669a35 /Lib/lib-tk
parent04a37be9e55e8f1e6b913bd5ded14533226c13b7 (diff)
downloadcpython-f7f746a82859d94d4f7bee7842e6b28db051554a.zip
cpython-f7f746a82859d94d4f7bee7842e6b28db051554a.tar.gz
cpython-f7f746a82859d94d4f7bee7842e6b28db051554a.tar.bz2
Issue #21882: In turtle demos, remove module scope gui and sys calls by
moving them to the module's main function.
Diffstat (limited to 'Lib/lib-tk')
-rw-r--r--Lib/lib-tk/turtle.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/lib-tk/turtle.py b/Lib/lib-tk/turtle.py
index 8d7cdc0..6a90715 100644
--- a/Lib/lib-tk/turtle.py
+++ b/Lib/lib-tk/turtle.py
@@ -142,7 +142,7 @@ _math_functions = ['acos', 'asin', 'atan', 'atan2', 'ceil', 'cos', 'cosh',
'log10', 'modf', 'pi', 'pow', 'sin', 'sinh', 'sqrt', 'tan', 'tanh']
__all__ = (_tg_classes + _tg_screen_functions + _tg_turtle_functions +
- _tg_utilities + _math_functions)
+ _tg_utilities + ['Terminator'] + _math_functions)
_alias_list = ['addshape', 'backward', 'bk', 'fd', 'ht', 'lt', 'pd', 'pos',
'pu', 'rt', 'seth', 'setpos', 'setposition', 'st',