Skip to content

Conversation

@gousaiyang
Copy link
Contributor

@gousaiyang gousaiyang commented Apr 6, 2021

Better document the positional-only arguments feature in the "Function definitions" section.

https://bugs.python.org/issue36540

@miss-islington
Copy link
Contributor

Thanks @gousaiyang for the PR, and @pablogsal for merging it 🌮🎉.. I'm working now to backport this PR to: 3.9.
🐍🍒⛏🤖

@pablogsal
Copy link
Member

Thanks for the PR!

@miss-islington
Copy link
Contributor

Sorry @gousaiyang and @pablogsal, I had trouble checking out the 3.9 backport branch.
Please backport using cherry_picker on command line.
cherry_picker 58d72cab89cf9652acc0bf0007aa20b2bcc98499 3.9

@pablogsal
Copy link
Member

@gousaiyang Could you do the backport manually by using cherry_picker 58d72cab89cf9652acc0bf0007aa20b2bcc98499 3.9 ?

@bedevere-bot
Copy link

GH-25259 is a backport of this pull request to the 3.9 branch.

gousaiyang added a commit to gousaiyang/cpython that referenced this pull request Apr 7, 2021
…nal-only arguments (pythonGH-25235)

(cherry picked from commit 58d72ca)

Co-authored-by: Saiyang Gou <gousaiyang@163.com>
gousaiyang added a commit to gousaiyang/cpython that referenced this pull request Apr 7, 2021
…nal-only arguments (pythonGH-25235)

(cherry picked from commit 58d72ca)

Co-authored-by: Saiyang Gou <gousaiyang@163.com>
@gousaiyang gousaiyang deleted the funcdef-doc-posonly branch April 7, 2021 19:16
@gousaiyang
Copy link
Contributor Author

Done. And I also created #25260 to backport this to 3.8 (if needed).

pablogsal pushed a commit that referenced this pull request Apr 7, 2021
…nal-only arguments (GH-25235) (GH-25260)

(cherry picked from commit 58d72ca)

Co-authored-by: Saiyang Gou <gousaiyang@163.com>
pablogsal pushed a commit that referenced this pull request Apr 7, 2021
…nal-only arguments (GH-25235) (GH-25259)

(cherry picked from commit 58d72ca)

Co-authored-by: Saiyang Gou <gousaiyang@163.com>
@pablogsal
Copy link
Member

Awesome, thanks!

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

Labels

docs Documentation in the Doc dir skip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants