mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
[3.10] bpo-44654: Do not export the union type related symbols (GH-27223). (GH-27225)
(cherry picked from commit 8f50f44592
)
This commit is contained in:
parent
85b58292cf
commit
a6670cdf77
1 changed files with 3 additions and 3 deletions
|
@ -10,11 +10,11 @@ extern "C" {
|
|||
|
||||
extern PyTypeObject _PyUnion_Type;
|
||||
#define _PyUnion_Check(op) Py_IS_TYPE(op, &_PyUnion_Type)
|
||||
PyAPI_FUNC(PyObject *) _Py_union_type_or(PyObject *, PyObject *);
|
||||
extern PyObject *_Py_union_type_or(PyObject *, PyObject *);
|
||||
|
||||
#define _PyGenericAlias_Check(op) PyObject_TypeCheck(op, &Py_GenericAliasType)
|
||||
PyObject *_Py_subs_parameters(PyObject *, PyObject *, PyObject *, PyObject *);
|
||||
PyObject *_Py_make_parameters(PyObject *);
|
||||
extern PyObject *_Py_subs_parameters(PyObject *, PyObject *, PyObject *, PyObject *);
|
||||
extern PyObject *_Py_make_parameters(PyObject *);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue