bpo-35086: Fix tkinter example "A Simple Hello World Program". (GH-10160)


The root widget was accessed as a global variable in the Application's method.
(cherry picked from commit a80af770870937271865b5e2b05a2cfe40b024b6)

Co-authored-by: Daniel Lovell <lovell.daniel92@gmail.com>
1 file changed