You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use PyType_Check() instead of direct comparison with PyType_Type pointer.
Context:
* pybind/pybind11#4427 (comment)
> I don't think your logic ... is actually correct? I don't think it would handle metaclasses right.
PiperOrigin-RevId: 498690703
0 commit comments