FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.15] gh-86726: Fix the documented return type of tkinter info_patchlevel() (GH-151655) by miss-islington · Pull Request #151658 · python/cpython · GitHub

Repository navigation

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .rst  (1) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
8 changes: 7 additions & 1 deletion Doc/library/tkinter.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -2333,7 +2333,13 @@ Base and mixin classes

.. method:: info_patchlevel()

Return the Tcl/Tk patch level as a string, for example ``'9.1.0'``.
Return the Tcl/Tk patch level as a named tuple with the same five fields
as :data:`sys.version_info`: *major*, *minor*, *micro*, *releaselevel*
and *serial*.
*releaselevel* is ``'alpha'``, ``'beta'`` or ``'final'``.
Converting it to a string gives the version in the usual Tcl/Tk notation,
for example ``'9.0.3'`` for a final release or ``'9.1b2'`` for a
pre-release.

.. versionadded:: 3.11

Expand Down
Loading

Back | FazBrowse Home | New Git URL