Skip to content

gh-88647: Fix tkinter config() docs for synonym options#153544

Merged
serhiy-storchaka merged 1 commit into
python:mainfrom
serhiy-storchaka:gh-88647-config-shorthand-doc
Jul 11, 2026
Merged

gh-88647: Fix tkinter config() docs for synonym options#153544
serhiy-storchaka merged 1 commit into
python:mainfrom
serhiy-storchaka:gh-88647-config-shorthand-doc

Conversation

@serhiy-storchaka

Copy link
Copy Markdown
Member

The documentation claimed that passing config() the name of a shorthand
option (like bg) returns a 2-tuple ('bg', 'background') instead of the
usual 5-tuple. This has not been true since Tk 8.5 -- synonym options return
the same 5-tuple as their real option (verified on Tk 8.6 and 9.1). Remove the
inaccurate sentences and keep only the note that such options are synonyms.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@bedevere-app bedevere-app Bot added docs Documentation in the Doc dir skip news labels Jul 11, 2026
@github-project-automation github-project-automation Bot moved this to Todo in Docs PRs Jul 11, 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 Jul 11, 2026
@serhiy-storchaka serhiy-storchaka enabled auto-merge (squash) July 11, 2026 08:08
@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #33541929 | 📁 Comparing 3fc3bfb against main (a1ef41a)

  🔍 Preview build  

1 file changed
± library/tkinter.html

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

@serhiy-storchaka serhiy-storchaka deleted the gh-88647-config-shorthand-doc branch July 11, 2026 08:13
@bedevere-app

bedevere-app Bot commented Jul 11, 2026

Copy link
Copy Markdown

GH-153545 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 Jul 11, 2026
@bedevere-app

bedevere-app Bot commented Jul 11, 2026

Copy link
Copy Markdown

GH-153546 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 Jul 11, 2026
@bedevere-app

bedevere-app Bot commented Jul 11, 2026

Copy link
Copy Markdown

GH-153547 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 Jul 11, 2026
serhiy-storchaka added a commit that referenced this pull request Jul 11, 2026
…3544) (GH-153545)

(cherry picked from commit d52cfd2)

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 Jul 11, 2026
…3544) (GH-153546)

(cherry picked from commit d52cfd2)

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 Jul 11, 2026
…3544) (GH-153547)

(cherry picked from commit d52cfd2)

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

Labels

docs Documentation in the Doc dir skip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant