Skip to content

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

Open
serhiy-storchaka wants to merge 1 commit into
python:mainfrom
serhiy-storchaka:gh-86017-font-docs
Open

gh-86017: Document displayof for Font.actual() and clarify Font.copy()#153288
serhiy-storchaka wants to merge 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting core review docs Documentation in the Doc dir skip news

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

1 participant