Skip to content

gh-86726: Document tkinter.simpledialog query options and Dialog.result#151851

Merged
serhiy-storchaka merged 1 commit into
python:mainfrom
serhiy-storchaka:tkinter-simpledialog-doc
Jun 21, 2026
Merged

gh-86726: Document tkinter.simpledialog query options and Dialog.result#151851
serhiy-storchaka merged 1 commit into
python:mainfrom
serhiy-storchaka:tkinter-simpledialog-doc

Conversation

@serhiy-storchaka

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

Copy link
Copy Markdown
Member

The askinteger, askfloat and askstring functions were documented as taking an opaque **kw; this documents their actual keyword options (initialvalue, minvalue, maxvalue, show, parent) and their return value.

It also documents the Dialog.result attribute, where the entered value is stored.

Documentation only, for long-standing behaviour (backportable).

@bedevere-app bedevere-app Bot added docs Documentation in the Doc dir skip news labels Jun 21, 2026
@github-project-automation github-project-automation Bot moved this to Todo in Docs PRs Jun 21, 2026
@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 21, 2026
@serhiy-storchaka serhiy-storchaka enabled auto-merge (squash) June 21, 2026 14:47
@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #33236442 | 📁 Comparing 8642f78 against main (082ac30)

  🔍 Preview build  

1 file changed
± library/dialog.html

@serhiy-storchaka serhiy-storchaka merged commit 8270ae5 into python:main Jun 21, 2026
42 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in Docs PRs Jun 21, 2026
@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.
🐍🍒⛏🤖

@bedevere-app

bedevere-app Bot commented Jun 21, 2026

Copy link
Copy Markdown

GH-151852 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 21, 2026
@bedevere-app

bedevere-app Bot commented Jun 21, 2026

Copy link
Copy Markdown

GH-151853 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 21, 2026
@bedevere-app

bedevere-app Bot commented Jun 21, 2026

Copy link
Copy Markdown

GH-151854 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 21, 2026
serhiy-storchaka added a commit that referenced this pull request Jun 21, 2026
…og.result (GH-151851) (GH-151854)

(cherry picked from commit 8270ae5)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
serhiy-storchaka added a commit that referenced this pull request Jun 21, 2026
…og.result (GH-151851) (GH-151853)

(cherry picked from commit 8270ae5)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
serhiy-storchaka added a commit that referenced this pull request Jun 21, 2026
…og.result (GH-151851) (GH-151852)

(cherry picked from commit 8270ae5)

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

Labels

docs Documentation in the Doc dir skip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant