mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
gh-90667: Add specializations of Py_DECREF when types are known (GH-30872)
This commit is contained in:
parent
ab0d35d70d
commit
da6c78584b
13 changed files with 147 additions and 85 deletions
|
@ -1,8 +1,8 @@
|
|||
/* Boolean type, a subtype of int */
|
||||
|
||||
#include "Python.h"
|
||||
#include "pycore_object.h" // _Py_FatalRefcountError()
|
||||
#include "pycore_runtime.h" // _Py_ID()
|
||||
#include "pycore_pyerrors.h" // _Py_FatalRefcountError()
|
||||
|
||||
/* We define bool_repr to return "False" or "True" */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue