Skip to content

Commit

Permalink
PEP 750: Fix code example and CPython version in abstract (#3902)
Browse files Browse the repository at this point in the history
  • Loading branch information
lysnikolaou committed Aug 11, 2024
1 parent e684657 commit 5393dd6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions peps/pep-0750.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 34,10 @@ Tag functions accept prepared arguments and return a string:
def greet(*args):
"""Tag function to return a greeting with an upper-case recipient."""
salutation, recipient, *_ = args
_, getvalue = recipient
getvalue, *_ = recipient
return f"{salutation.title().strip()} {getvalue().upper()}!"
Below you can find richer examples. As a note, an implementation based on CPython 3.12
Below you can find richer examples. As a note, an implementation based on CPython 3.14
exists, as discussed in this document.

Relationship With Other PEPs
Expand Down

0 comments on commit 5393dd6

Please sign in to comment.