https://github.com/python/cpython/commit/0312efcd2bb3d7964dbfe2b4cbd5f5b440aed049 commit: 0312efcd2bb3d7964dbfe2b4cbd5f5b440aed049 branch: 3.9 author: Miss Skeleton (bot) <31488909+miss-islington at users.noreply.github.com> committer: miss-islington <31488909+miss-islington at users.noreply.github.com> date: 2020年11月01日T05:27:01-08:00 summary: bpo-37483: Add PyObject_CallOneArg() in the What's New in Python 3.9 (GH-23062) (cherry picked from commit 7feb54a6348f6220b27986777786c812f110b53d) Co-authored-by: Dong-hee Na <donghee.na at python.org> files: M Doc/whatsnew/3.9.rst diff --git a/Doc/whatsnew/3.9.rst b/Doc/whatsnew/3.9.rst index 1a37f16ea2b09..a601b16f1c605 100644 --- a/Doc/whatsnew/3.9.rst +++ b/Doc/whatsnew/3.9.rst @@ -1289,6 +1289,10 @@ New Features representation of a function-like object. (Patch by Jeroen Demeyer in :issue:`37645`.) +* Added :c:func:`PyObject_CallOneArg` for calling an object with one + positional argument + (Patch by Jeroen Demeyer in :issue:`37483`.) + Porting to Python 3.9 ---------------------