Skip to content

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

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

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

Conversation

@JelleZijlstra
Copy link
Member

@JelleZijlstra JelleZijlstra commented Sep 24, 2024

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.
Copy link
Contributor

@willingc willingc left a comment

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.

Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
@JelleZijlstra
Copy link
Member Author

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

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants