FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

PEP 570: Demonstrate a corner case by gvanrossum · Pull Request #978 · python/peps · GitHub

Repository navigation

PEP 570: Demonstrate a corner case - #978

Merged
gvanrossum merged 3 commits into
masterfrom
clarify-pep-570
Apr 6, 2019
Merged

gvanrossum merged 3 commits into
masterfrom
clarify-pep-570

Conversation

Copy link
Copy Markdown
Member

The name of a positional-only parameter can occur in **kwds.

(This is not really an addition to the specification, it just clarifies a corollary.)

This was brought up in python/cpython#12637 (comment)

The name of a positional-only parameter can occur in `**kwds`.
gvanrossum requested a review from pablogsal April 6, 2019 19:40
Comment thread pep-0570.rst
Comment thread pep-0570.rst Outdated

pablogsal left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM

We recently added a test for this in the implementation:

https://github.com/pablogsal/cpython/blob/PEP570/Lib/test/test_positional_only_arg.py#L248-L257

gvanrossum merged commit f25f585 into master Apr 6, 2019
gvanrossum deleted the clarify-pep-570 branch April 10, 2019 18:58
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

3 participants


Back | FazBrowse Home | New Git URL