Skip to content

gh-82830: Improve tkinter messagebox docstrings and cursor documentation#152380

Merged
serhiy-storchaka merged 1 commit into
python:mainfrom
serhiy-storchaka:tkinter-docs-cursor-messagebox
Jun 27, 2026
Merged

gh-82830: Improve tkinter messagebox docstrings and cursor documentation#152380
serhiy-storchaka merged 1 commit into
python:mainfrom
serhiy-storchaka:tkinter-docs-cursor-messagebox

Conversation

@serhiy-storchaka

@serhiy-storchaka serhiy-storchaka commented Jun 27, 2026

Copy link
Copy Markdown
Member

Fix the messagebox ask* docstrings to say they return True rather than "true", note that askquestion returns the symbolic button name, and correct askretrycancel to say "retry".

Also document that on Windows a cursor file (.cur or .ani) can be given directly as "@C:/cursors/bart.ani".

…mentation

Document Windows cursor files (pythongh-99089).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #33335588 | 📁 Comparing f6c5afc against main (93454fe)

  🔍 Preview build  

2 files changed
± library/tkinter.html
± library/tkinter.messagebox.html

@serhiy-storchaka serhiy-storchaka added needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes needs backport to 3.15 pre-release feature fixes, bugs and security fixes labels Jun 27, 2026
@serhiy-storchaka serhiy-storchaka merged commit ea7f64a into python:main Jun 27, 2026
63 checks passed
@miss-islington-app

Copy link
Copy Markdown

Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14, 3.15.
🐍🍒⛏🤖

@serhiy-storchaka serhiy-storchaka deleted the tkinter-docs-cursor-messagebox branch June 27, 2026 11:01
@bedevere-app

bedevere-app Bot commented Jun 27, 2026

Copy link
Copy Markdown

GH-152386 is a backport of this pull request to the 3.15 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.15 pre-release feature fixes, bugs and security fixes label Jun 27, 2026
@bedevere-app

bedevere-app Bot commented Jun 27, 2026

Copy link
Copy Markdown

GH-152387 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label Jun 27, 2026
@bedevere-app

bedevere-app Bot commented Jun 27, 2026

Copy link
Copy Markdown

GH-152388 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.13 bugs and security fixes label Jun 27, 2026
serhiy-storchaka added a commit that referenced this pull request Jun 27, 2026
…umentation (GH-152380) (GH-152388)

Document Windows cursor files (gh-99089).
(cherry picked from commit ea7f64a)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
serhiy-storchaka added a commit that referenced this pull request Jun 27, 2026
…umentation (GH-152380) (GH-152387)

Document Windows cursor files (gh-99089).
(cherry picked from commit ea7f64a)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
serhiy-storchaka added a commit that referenced this pull request Jun 27, 2026
…umentation (GH-152380) (GH-152386)

Document Windows cursor files (gh-99089).
(cherry picked from commit ea7f64a)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant