Document PyObject_CallFunction() special case more explicitly (issue 28977)
Dec. 16, 2016
1:03 a.m.
https://bugs.python.org/review/28977/diff/19473/Doc/c-api/object.rst File Doc/c-api/object.rst (right): https://bugs.python.org/review/28977/diff/19473/Doc/c-api/object.rst#newcode... Doc/c-api/object.rst:279: there is a single argument. PyObject_CallFunctionObjArgs looks better alternative to me. And PyObject_CallObject is better alternative when you need to unpack a tuple. Since "O" is exceptional case and its behavior is likely unexpected, and there are good alternatives, maybe format this note with "note" or "warning" directives? https://bugs.python.org/review/28977/
3464
Age (days ago)
3464
Last active (days ago)
0 comments
1 participants
participants (1)
-
storchaka+cpython@gmail.com