diff --git a/Tools/idle/turtle.py b/Tools/idle/turtle.py index 9b4b91b50b1..49375a7258b 100644 --- a/Tools/idle/turtle.py +++ b/Tools/idle/turtle.py @@ -337,7 +337,7 @@ def demo(): # more text write("end") if __name__ == '__main__': - root.mainloop() + _root.mainloop() if __name__ == '__main__': demo()