Skip to content

Commit c24e697

Browse files
Update Objects/typeobject.c
Co-authored-by: Victor Stinner <[email protected]>
1 parent 1c5d516 commit c24e697

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Objects/typeobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7269,7 +7269,7 @@ compatible_flags(int setclass, PyTypeObject *origto, PyTypeObject *newto, unsign
72697269
if the original class flags are set.
72707270
*/
72717271
return setclass ? (origto->tp_flags & flags) == (newto->tp_flags & flags)
7272-
: !(~(origto->tp_flags & flags) & (newto->tp_flags & flags));
7272+
: !(~(origto->tp_flags & flags) & (newto->tp_flags & flags));
72737273
}
72747274

72757275
static int

0 commit comments

Comments
 (0)