]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-40521: Fix update_slot() when INTERN_NAME_STRINGS is not defined (#20246)
authorVictor Stinner <vstinner@python.org>
Tue, 19 May 2020 23:57:17 +0000 (01:57 +0200)
committerGitHub <noreply@github.com>
Tue, 19 May 2020 23:57:17 +0000 (01:57 +0200)
commit0509c4547fc95cc32a91ac446a26192c3bfdf157
tree616fe6bd2c4160bd5d55f332ae6c24f852471825
parentaca4670ad695d4b01c7880fe3d0af817421945bd
bpo-40521: Fix update_slot() when INTERN_NAME_STRINGS is not defined (#20246)

Fix type update_slot() function when the macro INTERN_NAME_STRINGS is
not defined: use _PyUnicode_EQ() in this case.
Objects/typeobject.c