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 071ef3f commit 850059aCopy full SHA for 850059a
Objects/typeobject.c
@@ -184,6 +184,7 @@ lookup_tp_dict(PyTypeObject *self)
184
PyObject *
185
_PyType_GetDict(PyTypeObject *self)
186
{
187
+ /* It returns a borrowed reference. */
188
return lookup_tp_dict(self);
189
}
190
@@ -229,6 +230,7 @@ lookup_tp_bases(PyTypeObject *self)
229
230
231
_PyType_GetBases(PyTypeObject *self)
232
233
234
return lookup_tp_bases(self);
235
236
@@ -274,6 +276,7 @@ lookup_tp_mro(PyTypeObject *self)
274
276
275
277
_PyType_GetMRO(PyTypeObject *self)
278
279
280
return lookup_tp_mro(self);
281
282
0 commit comments