Skip to content

PEP 749: Use __format__ instead of .format as param name - #3993

Closed
JelleZijlstra wants to merge 2 commits into
python:mainfrom
JelleZijlstra:pep749-paramname
Closed

PEP 749: Use __format__ instead of .format as param name#3993
JelleZijlstra wants to merge 2 commits into
python:mainfrom
JelleZijlstra:pep749-paramname

Conversation

@JelleZijlstra

@JelleZijlstraJelleZijlstra commented Sep 24, 2024

Copy link
Copy Markdown
Member

JelleZijlstra added a commit to JelleZijlstra/cpython that referenced this pull request Sep 24, 2024
Larry Hastings pointed out that using an illegal parameter name makes
it impossible to use inspect.signature() on annotate functions.
Cross-ref python/peps#3993.

@willingcwillingc left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small wording suggestion @JelleZijlstra but good to merge as is too.

Comment threadpeps/pep-0749.rst Outdated
Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
@JelleZijlstra

Copy link
Copy Markdown
MemberAuthor

We went with an alternative approach on Larry's suggestion.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@JelleZijlstra@willingc