@@ -190,7 +190,7 @@ Object Protocol
190190
191191.. c :function :: PyObject* PyObject_Repr (PyObject *o)
192192
193- .. index :: builtin: repr
193+ .. index :: pair: built-in function; repr
194194
195195 Compute a string representation of object *o *. Returns the string
196196 representation on success, ``NULL `` on failure. This is the equivalent of the
@@ -202,7 +202,7 @@ Object Protocol
202202
203203.. c :function :: PyObject* PyObject_ASCII (PyObject *o)
204204
205- .. index :: builtin: ascii
205+ .. index :: pair: built-in function; ascii
206206
207207 As :c:func: `PyObject_Repr `, compute a string representation of object *o *, but
208208 escape the non-ASCII characters in the string returned by
@@ -227,7 +227,7 @@ Object Protocol
227227
228228.. c :function :: PyObject* PyObject_Bytes (PyObject *o)
229229
230- .. index :: builtin: bytes
230+ .. index :: pair: built-in function; bytes
231231
232232 Compute a bytes representation of object *o *. ``NULL `` is returned on
233233 failure and a bytes object on success. This is equivalent to the Python
@@ -278,7 +278,7 @@ Object Protocol
278278
279279.. c:function:: Py_hash_t PyObject_Hash(PyObject *o)
280280
281- .. index :: builtin: hash
281+ .. index :: pair: built-in function; hash
282282
283283 Compute and return the hash value of an object *o *. On failure, return ``-1 ``.
284284 This is the equivalent of the Python expression ``hash(o) ``.
@@ -312,7 +312,7 @@ Object Protocol
312312
313313.. c :function :: PyObject* PyObject_Type (PyObject *o)
314314
315- .. index :: builtin: type
315+ .. index :: pair: built-in function; type
316316
317317 When *o * is non-``NULL ``, returns a type object corresponding to the object type
318318 of object *o *. On failure, raises :exc: `SystemError ` and returns ``NULL ``. This
@@ -332,7 +332,7 @@ Object Protocol
332332.. c :function :: Py_ssize_t PyObject_Size (PyObject *o)
333333 Py_ssize_t PyObject_Length(PyObject *o)
334334
335- .. index :: builtin: len
335+ .. index :: pair: built-in function; len
336336
337337 Return the length of object *o *. If the object *o * provides either the sequence
338338 and mapping protocols, the sequence length is returned. On error, ``-1 `` is
0 commit comments