mirror of
https://github.com/python/cpython.git
synced 2025-10-26 19:24:34 +00:00
9 lines
211 B
Python
9 lines
211 B
Python
|
|
import sys
|
||
|
|
from warnings import warnpy3k
|
||
|
|
|
||
|
|
warnpy3k("the turtle module has been renamed "
|
||
|
|
"to 'tkinter.turtle' in Python 3.0", stacklevel=2)
|
||
|
|
|
||
|
|
import tkinter.turtle
|
||
|
|
sys.modules[__name__] = tkinter.turtle
|