mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
[3.13] gh-130230: Fix crash in pow() with only Decimal third argument (GH-130237) (GH-130246)
(cherry picked from commit b93b7e566e
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
This commit is contained in:
parent
fc1c9f884e
commit
5d83b6c160
5 changed files with 41 additions and 1 deletions
|
@ -199,6 +199,7 @@ extern PyObject * _PyType_GetMRO(PyTypeObject *type);
|
|||
extern PyObject* _PyType_GetSubclasses(PyTypeObject *);
|
||||
extern int _PyType_HasSubclasses(PyTypeObject *);
|
||||
PyAPI_FUNC(PyObject *) _PyType_GetModuleByDef2(PyTypeObject *, PyTypeObject *, PyModuleDef *);
|
||||
PyAPI_FUNC(PyObject *) _PyType_GetModuleByDef3(PyTypeObject *, PyTypeObject *, PyTypeObject *, PyModuleDef *);
|
||||
|
||||
// PyType_Ready() must be called if _PyType_IsReady() is false.
|
||||
// See also the Py_TPFLAGS_READY flag.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue