diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2021-07-16 08:34:56 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-16 08:34:56 (GMT) |
commit | aeaa553d650786afc6e68df1f4813ae1a5b71d05 (patch) | |
tree | de8f5af334a132649dc3f7898b012b8a200c9259 /Python/thread.c | |
parent | 919ad537510fdc2c750109e0bc4eceea234324b2 (diff) | |
download | cpython-aeaa553d650786afc6e68df1f4813ae1a5b71d05.zip cpython-aeaa553d650786afc6e68df1f4813ae1a5b71d05.tar.gz cpython-aeaa553d650786afc6e68df1f4813ae1a5b71d05.tar.bz2 |
bpo-44646: Fix the hash of the union type. (#27179)
It no longer depends on the order of arguments.
hash(int | str) == hash(str | int)
Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
Diffstat (limited to 'Python/thread.c')
0 files changed, 0 insertions, 0 deletions