Title: PyArg_ParseTupleAndKeywords supports required keyword only arguments
Type: Stage:
Components: Documentation Versions:
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 2017-05-01 06:16 by xiang.zhang.

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.
Date User Action Args
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