summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorkj <28750310+Fidget-Spinner@users.noreply.github.com>2020-11-09 04:00:13 (GMT)
committerGitHub <noreply@github.com>2020-11-09 04:00:13 (GMT)
commit4eb41d055e8307b8206f680287e492a6db068acd (patch)
tree49f5dd4d1abac0b43945310972a97e0c943d2869 /Include
parent23831a7a90956e38b7d70304bb6afe30d37936de (diff)
downloadcpython-4eb41d055e8307b8206f680287e492a6db068acd.zip
cpython-4eb41d055e8307b8206f680287e492a6db068acd.tar.gz
cpython-4eb41d055e8307b8206f680287e492a6db068acd.tar.bz2
bpo-42233: Add union type expression support for GenericAlias and fix de-duplicating of GenericAlias (GH-23077)
Diffstat (limited to 'Include')
-rw-r--r--Include/internal/pycore_unionobject.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/internal/pycore_unionobject.h b/Include/internal/pycore_unionobject.h
index fa8ba6e..4d82b6f 100644
--- a/Include/internal/pycore_unionobject.h
+++ b/Include/internal/pycore_unionobject.h
@@ -10,6 +10,7 @@ extern "C" {
PyAPI_FUNC(PyObject *) _Py_Union(PyObject *args);
PyAPI_DATA(PyTypeObject) _Py_UnionType;
+PyAPI_FUNC(PyObject *) _Py_union_type_or(PyObject* self, PyObject* param);
#ifdef __cplusplus
}