We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19eee7b commit 924be80Copy full SHA for 924be80
Objects/typeobject.c
@@ -4761,10 +4761,10 @@ PyType_FromMetaclass(
4761
if (strcmp(memb->name, "__weaklistoffset__") == 0) {
4762
weaklistoffset_member = memb;
4763
}
4764
- if (strcmp(memb->name, "__dictoffset__") == 0) {
+ else if (strcmp(memb->name, "__dictoffset__") == 0) {
4765
dictoffset_member = memb;
4766
4767
- if (strcmp(memb->name, "__vectorcalloffset__") == 0) {
+ else if (strcmp(memb->name, "__vectorcalloffset__") == 0) {
4768
vectorcalloffset_member = memb;
4769
4770
0 commit comments