Commit 4089c110 authored by Guido van Rossum's avatar Guido van Rossum

root is now a global called _root

parent 04101960
...@@ -337,7 +337,7 @@ def demo(): ...@@ -337,7 +337,7 @@ def demo():
# more text # more text
write("end") write("end")
if __name__ == '__main__': if __name__ == '__main__':
root.mainloop() _root.mainloop()
if __name__ == '__main__': if __name__ == '__main__':
demo() demo()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment