Issue 30180: PyArg_ParseTupleAndKeywords supports required keyword only arguments
Issue30180
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:45 | admin | set | github: 74366 |
| 2017-05-01 06:16:33 | xiang.zhang | set | nosy:
+ xiang.zhang |
| 2017-04-27 00:51:12 | llllllllll | set | assignee: docs@python components:
+ Documentation |
| 2017-04-27 00:51:02 | llllllllll | create | |