Skip to content

Commit 850059a

Browse files
Add some comments.
1 parent 071ef3f commit 850059a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Objects/typeobject.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ lookup_tp_dict(PyTypeObject *self)
184184
PyObject *
185185
_PyType_GetDict(PyTypeObject *self)
186186
{
187+
/* It returns a borrowed reference. */
187188
return lookup_tp_dict(self);
188189
}
189190

@@ -229,6 +230,7 @@ lookup_tp_bases(PyTypeObject *self)
229230
PyObject *
230231
_PyType_GetBases(PyTypeObject *self)
231232
{
233+
/* It returns a borrowed reference. */
232234
return lookup_tp_bases(self);
233235
}
234236

@@ -274,6 +276,7 @@ lookup_tp_mro(PyTypeObject *self)
274276
PyObject *
275277
_PyType_GetMRO(PyTypeObject *self)
276278
{
279+
/* It returns a borrowed reference. */
277280
return lookup_tp_mro(self);
278281
}
279282

0 commit comments

Comments
 (0)