Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update Include/setobject.h
Co-authored-by: Victor Stinner <vstinner@python.org>
  • Loading branch information
pablogsal and vstinner authored Feb 20, 2021
commit 35fe24910669a57affb01621c303bdfd9fddbd65
2 changes: 1 addition & 1 deletion Include/setobject.h
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ PyAPI_FUNC(PyObject *) PySet_Pop(PyObject *set);
PyAPI_FUNC(Py_ssize_t) PySet_Size(PyObject *anyset);

#define PyFrozenSet_CheckExact(ob) Py_IS_TYPE(ob, &PyFrozenSet_Type)
#define PyFrozenSet_Check(ob) \
#define PyFrozenSet_Check(ob) \
(Py_IS_TYPE(ob, &PyFrozenSet_Type) || \
PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type))

Expand Down