when the module is launched as a script.
"""
from math import * # Also for export
+from time import sleep
import Tkinter
speeds = ['fastest', 'fast', 'normal', 'slow', 'slowest']
if __name__ == '__main__':
- from time import sleep
demo()
sleep(3)
demo2()
Library
-------
+- Fix turtle so that time.sleep is imported for the entire library. Allows
+ the demo2 function to be executed on its own instead of only when the
+ module is run as a script.
+
- Bug #813342: Start the IDLE subprocess with -Qnew if the parent
is started with that option.