diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2021-07-17 19:44:10 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-17 19:44:10 (GMT) |
commit | 0fd27375cabd12e68a2f12cfeca11a2d5043429e (patch) | |
tree | acb748d0bc66167f6f0d6d30123a205fc5af3e9b /Objects/object.c | |
parent | f88e138a1aa3b9a9e013963e4fd7d5cce6a0b85c (diff) | |
download | cpython-0fd27375cabd12e68a2f12cfeca11a2d5043429e.zip cpython-0fd27375cabd12e68a2f12cfeca11a2d5043429e.tar.gz cpython-0fd27375cabd12e68a2f12cfeca11a2d5043429e.tar.bz2 |
bpo-44654: Refactor and clean up the union type implementation (GH-27196)
Diffstat (limited to 'Objects/object.c')
-rw-r--r-- | Objects/object.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/object.c b/Objects/object.c index 8a854c7..446c974 100644 --- a/Objects/object.c +++ b/Objects/object.c @@ -11,7 +11,7 @@ #include "pycore_pymem.h" // _PyMem_IsPtrFreed() #include "pycore_pystate.h" // _PyThreadState_GET() #include "pycore_symtable.h" // PySTEntry_Type -#include "pycore_unionobject.h" // _Py_UnionType +#include "pycore_unionobject.h" // _PyUnion_Type #include "frameobject.h" #include "interpreteridobject.h" @@ -1878,7 +1878,7 @@ _PyTypes_Init(void) INIT_TYPE(_PyWeakref_CallableProxyType); INIT_TYPE(_PyWeakref_ProxyType); INIT_TYPE(_PyWeakref_RefType); - INIT_TYPE(_Py_UnionType); + INIT_TYPE(_PyUnion_Type); return _PyStatus_OK(); #undef INIT_TYPE |