]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-44731: Simplify the union type implementation (GH-27318)
authorSerhiy Storchaka <storchaka@gmail.com>
Sat, 24 Jul 2021 13:34:48 +0000 (16:34 +0300)
committerGitHub <noreply@github.com>
Sat, 24 Jul 2021 13:34:48 +0000 (14:34 +0100)
commit08284231275ac9cc60ae27eab2338805919d8881
tree4d61a5ef20902208d8615ac052e39d070e85c73d
parent3eae8f20d7b6f88d3618b0afc94893165a914022
bpo-44731: Simplify the union type implementation (GH-27318)

Remove direct support of typing types in the C code because they are already supported by defining methods __or__ and __ror__ in the Python code.
Lib/test/test_types.py
Lib/typing.py
Objects/unionobject.c