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 4e6e208 commit e32adebCopy full SHA for e32adeb
Objects/setobject.c
@@ -2748,11 +2748,7 @@ PySet_Contains(PyObject *anyset, PyObject *key)
2748
return -1;
2749
}
2750
2751
- int rv;
2752
- Py_BEGIN_CRITICAL_SECTION(anyset);
2753
- rv = set_contains_key((PySetObject *)anyset, key);
2754
- Py_END_CRITICAL_SECTION();
2755
- return rv;
+ return _PySet_Contains(_PySet_CAST(anyset), key);
2756
2757
2758
int
0 commit comments