Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information