diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-07-01 11:29:14 (GMT) |
---|---|---|
committer | Ćukasz Langa <lukasz@langa.pl> | 2019-07-01 11:29:14 (GMT) |
commit | cb083f7cdf604c1d9d264f387f9e8846bc953eb3 (patch) | |
tree | 2a1e772b2085b26e80b62ce13d0fdd7962adfd2b /Misc | |
parent | f22c4cf11d10f52faa86e0b308dd28f11819efd8 (diff) | |
download | cpython-cb083f7cdf604c1d9d264f387f9e8846bc953eb3.zip cpython-cb083f7cdf604c1d9d264f387f9e8846bc953eb3.tar.gz cpython-cb083f7cdf604c1d9d264f387f9e8846bc953eb3.tar.bz2 |
bpo-37221: Add PyCode_NewWithPosOnlyArgs to be used internally and set PyCode_New as a compatibility wrapper (GH-13959) (#14505)
Add PyCode_NewEx to be used internally and set PyCode_New as a compatibility wrapper
(cherry picked from commit 4a2edc34a405150d0b23ecfdcb401e7cf59f4650)
Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/C API/2019-06-11-02-50-38.bpo-37221.4tClQT.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/C API/2019-06-11-02-50-38.bpo-37221.4tClQT.rst b/Misc/NEWS.d/next/C API/2019-06-11-02-50-38.bpo-37221.4tClQT.rst new file mode 100644 index 0000000..0ea8b9b --- /dev/null +++ b/Misc/NEWS.d/next/C API/2019-06-11-02-50-38.bpo-37221.4tClQT.rst @@ -0,0 +1,3 @@ +The new function :c:func:`PyCode_NewWithPosOnlyArgs` allows to create +code objects like :c:func:`PyCode_New`, but with an extra *posonlyargcount* +parameter for indicating the number of positonal-only arguments. |