Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PEP 570: Demonstrate a corner case #978

Merged
merged 3 commits into from Apr 6, 2019
Merged

PEP 570: Demonstrate a corner case #978

merged 3 commits into from Apr 6, 2019

Conversation

@gvanrossum
Copy link
Member

@gvanrossum gvanrossum commented Apr 6, 2019

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 gvanrossum requested a review from pablogsal Apr 6, 2019
pep-0570.rst Show resolved Hide resolved
pep-0570.rst Outdated Show resolved Hide resolved
Copy link
Member

@pablogsal pablogsal left a comment

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 gvanrossum merged commit f25f585 into master Apr 6, 2019
2 checks passed
2 checks passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details
@gvanrossum gvanrossum deleted the clarify-pep-570 branch Apr 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants