summaryrefslogtreecommitdiffstats
path: root/Python/bltinmodule.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2021-07-16 09:49:33 (GMT)
committerGitHub <noreply@github.com>2021-07-16 09:49:33 (GMT)
commitd9f923280f204204f8703756aef4f655b579b4b8 (patch)
treea7f4bae4b05868d51cbb81a5faa1812f1df47106 /Python/bltinmodule.c
parentaeaa553d650786afc6e68df1f4813ae1a5b71d05 (diff)
downloadcpython-d9f923280f204204f8703756aef4f655b579b4b8.zip
cpython-d9f923280f204204f8703756aef4f655b579b4b8.tar.gz
cpython-d9f923280f204204f8703756aef4f655b579b4b8.tar.bz2
bpo-44636: Collapse union of equal types (GH-27178)
The result of `int | int` is now `int`. Fix comparison of the union type with non-hashable objects. `int | str == {}` no longer raises a TypeError.
Diffstat (limited to 'Python/bltinmodule.c')
0 files changed, 0 insertions, 0 deletions