This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: PyArg_ParseTupleAndKeywords supports required keyword only arguments
Type: Stage:
Components: Documentation Versions:
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: docs@python Nosy List: docs@python, llllllllll, serhiy.storchaka, xiang.zhang
Priority: normal Keywords:

Created on 2017-04-27 00:51 by llllllllll, last changed 2022-04-11 14:58 by admin.

Pull Requests
URL Status Linked Edit
PR 1290 llllllllll, 2017-04-27 00:51
Messages (1)
msg292385 - (view) Author: Joe Jevnik (llllllllll) * Date: 2017-04-27 00:51
I opened a pr to remove a line in the docs about $ needing to follow | in PyArg_ParseTupleAndKeywords. In practice, you can just use a $ to create required keyword arguments which intuitively makes sense. I was told this should raise a SystemError; however, you can create required keyword only arguments in Python so I am not sure why we would want to fail when this is done with PyArg_ParseTupleAndKeywords.
History
Date User Action Args
2022-04-11 14:58:45adminsetgithub: 74366
2017-05-01 06:16:33xiang.zhangsetnosy: + xiang.zhang
2017-04-27 00:51:12llllllllllsetassignee: docs@python

components: + Documentation
nosy: + docs@python
2017-04-27 00:51:02llllllllllcreate