diff --git a/peps/pep-0750.rst b/peps/pep-0750.rst index 53702d66f..fc7d84675 100644 --- a/peps/pep-0750.rst +++ b/peps/pep-0750.rst @@ -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