From 0961c387cbae23e8a2e7a39d7b1c75e6b6507462 Mon Sep 17 00:00:00 2001 From: Ivan Pozdeev Date: Sun, 3 Jun 2018 09:40:42 +0300 Subject: [PATCH 1/2] https://github.com/python/cpython/pull/7287#discussion_r192545829 --- Doc/library/tkinter.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Doc/library/tkinter.rst b/Doc/library/tkinter.rst index 2cc48d5c8e8406..174dc2fd280f6e 100644 --- a/Doc/library/tkinter.rst +++ b/Doc/library/tkinter.rst @@ -41,8 +41,10 @@ Tcl interface to the Tk toolkit. The Tcl library has a C interface to create and manage one or more instances of a Tcl interpreter, run Tcl commands and scripts in those instances, and add custom commands - implemented in either Tcl or C. Tcl provides for an event queue, used - for I/O, timers, and by modules. + implemented in either Tcl or C. Each interpreter has an event queue, + and there are facilities to send events to it and process them. + Unlike Python, a Tcl interpreter instance only has one + stream of execution (see `Threading model`_ for details). Tk Tk is a module that can be loaded into a Tcl interpreter instance. It adds From f91ff5d711d6b1800a30e87057ae64d92faed152 Mon Sep 17 00:00:00 2001 From: native-api Date: Sun, 3 Jun 2018 09:59:47 +0300 Subject: [PATCH 2/2] more specific --- Doc/library/tkinter.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Doc/library/tkinter.rst b/Doc/library/tkinter.rst index 174dc2fd280f6e..2300f196214a24 100644 --- a/Doc/library/tkinter.rst +++ b/Doc/library/tkinter.rst @@ -43,8 +43,9 @@ Tcl commands and scripts in those instances, and add custom commands implemented in either Tcl or C. Each interpreter has an event queue, and there are facilities to send events to it and process them. - Unlike Python, a Tcl interpreter instance only has one - stream of execution (see `Threading model`_ for details). + Unlike Python, Tcl's execution model is designed around cooperative + multitasking, and Tkinter bridges this difference + (see `Threading model`_ for details). Tk Tk is a module that can be loaded into a Tcl interpreter instance. It adds