This repository was archived by the owner on Nov 11, 2025. It is now read-only.
Commit ef64abf
committed
Use
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: 498690703PyType_Check() instead of direct comparison with PyType_Type pointer.1 parent 53d827e commit ef64abf
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
160 | | - | |
| 160 | + | |
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
168 | | - | |
| 168 | + | |
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
| |||
0 commit comments