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

gh-86017: Document displayof for Font.actual() and clarify Font.copy() by serhiy-storchaka · Pull Request #153288 · python/cpython · GitHub

Repository navigation

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

serhiy-storchaka merged 1 commit into
python:mainfrom
serhiy-storchaka:gh-86017-font-docs

Conversation

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>

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 added needs backport to 3.13 only security fixes needs backport to 3.14 bugs and security fixes needs backport to 3.15 bugs and security fixes labels Jul 8, 2026
serhiy-storchaka merged commit fa5eafd into python:main Jul 8, 2026
43 checks passed
github-project-automation Bot moved this from Todo to Done in Docs PRs Jul 8, 2026

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 deleted the gh-86017-font-docs branch July 8, 2026 12:00

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 Bot removed the needs backport to 3.15 bugs and security fixes label Jul 8, 2026

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 Bot removed the needs backport to 3.14 bugs and security fixes label Jul 8, 2026

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 Bot removed the needs backport to 3.13 only 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>
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
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


Back | FazBrowse Home | New Git URL