mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
bpo-42423: Accept single base class in PyType_FromModuleAndSpec() (GH-23441)
This commit is contained in:
parent
c4d45ee670
commit
686c203cd4
7 changed files with 17 additions and 28 deletions
|
|
@ -512,6 +512,10 @@ New Features
|
|||
reference count of an object and return the object.
|
||||
(Contributed by Victor Stinner in :issue:`42262`.)
|
||||
|
||||
* The :c:func:`PyType_FromSpecWithBases` and :c:func:`PyType_FromModuleAndSpec`
|
||||
functions now accept a single class as the *bases* argument.
|
||||
(Contributed by Serhiy Storchaka in :issue:`42423`.)
|
||||
|
||||
* The :c:func:`PyType_FromModuleAndSpec` function now accepts NULL ``tp_doc``
|
||||
slot.
|
||||
(Contributed by Hai Shi in :issue:`41832`.)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue