Mailing List Archive

Doc: add missing manpage and title references in tkinter docs (#29008)
https://github.com/python/cpython/commit/0e12781ad9dec6e46ccb85969c0eb7be1ecad81d
commit: 0e12781ad9dec6e46ccb85969c0eb7be1ecad81d
branch: main
author: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
committer: erlend-aasland <erlend.aasland@protonmail.com>
date: 2022-05-20T10:19:37+02:00
summary:

Doc: add missing manpage and title references in tkinter docs (#29008)

- add bind(3tk) manpage markup
- add Tcl/Tk book reference markup

files:
M Doc/library/tkinter.rst

diff --git a/Doc/library/tkinter.rst b/Doc/library/tkinter.rst
index 37b6a02a31710..096a343bd9558 100644
--- a/Doc/library/tkinter.rst
+++ b/Doc/library/tkinter.rst
@@ -877,8 +877,9 @@ of the bind method is::
where:

sequence
- is a string that denotes the target kind of event. (See the bind man page and
- page 201 of John Ousterhout's book for details).
+ is a string that denotes the target kind of event. (See the
+ :manpage:`bind(3tk)` man page, and page 201 of John Ousterhout's book,
+ :title-reference:`Tcl and the Tk Toolkit (2nd edition)`, for details).

func
is a Python function, taking one argument, to be invoked when the event occurs.

_______________________________________________
Python-checkins mailing list
Python-checkins@python.org
https://mail.python.org/mailman/listinfo/python-checkins