Skip to content

gh-86017: Document displayof for Font.actual() and clarify Font.copy()#153288

Merged
serhiy-storchaka merged 1 commit into
python:mainfrom
serhiy-storchaka:gh-86017-font-docs
Jul 8, 2026
Merged

gh-86017: Document displayof for Font.actual() and clarify Font.copy()#153288
serhiy-storchaka merged 1 commit into
python:mainfrom
serhiy-storchaka:gh-86017-font-docs

Conversation

@serhiy-storchaka

Copy link
Copy Markdown
Member

Two small additions to the tkinter.font.Font documentation:

  • Document the displayof argument of Font.actual() (it was undocumented, unlike Font.measure()).
  • Clarify what Font.copy() returns — a distinct, independently reconfigurable named font — and note that copying a font that wraps a font description resolves it into a named font.

….copy()

Explain the displayof argument of tkinter.font.Font.actual() and describe
what Font.copy() returns, including for a wrapped font description.

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

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #33483441 | 📁 Comparing da044ad against main (a74280e)

  🔍 Preview build  

1 file changed
± library/tkinter.font.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 Jul 8, 2026
@serhiy-storchaka serhiy-storchaka merged commit fa5eafd into python:main Jul 8, 2026
43 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in Docs PRs Jul 8, 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-86017-font-docs branch July 8, 2026 12:00
@bedevere-app

bedevere-app Bot commented Jul 8, 2026

Copy link
Copy Markdown

GH-153329 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 8, 2026
@bedevere-app

bedevere-app Bot commented Jul 8, 2026

Copy link
Copy Markdown

GH-153330 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 8, 2026
@bedevere-app

bedevere-app Bot commented Jul 8, 2026

Copy link
Copy Markdown

GH-153331 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 8, 2026
serhiy-storchaka added a commit that referenced this pull request Jul 8, 2026
…t.copy() (GH-153288) (GH-153331)

Explain the displayof argument of tkinter.font.Font.actual() and describe
what Font.copy() returns, including for a wrapped font description.
(cherry picked from commit fa5eafd)

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 8, 2026
…t.copy() (GH-153288) (GH-153330)

Explain the displayof argument of tkinter.font.Font.actual() and describe
what Font.copy() returns, including for a wrapped font description.
(cherry picked from commit fa5eafd)

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 8, 2026
…t.copy() (GH-153288) (GH-153329)

Explain the displayof argument of tkinter.font.Font.actual() and describe
what Font.copy() returns, including for a wrapped font description.
(cherry picked from commit fa5eafd)

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