diff --git a/Doc/c-api/bytes.rst b/Doc/c-api/bytes.rst index c9a114a9382..b66047b021a 100644 --- a/Doc/c-api/bytes.rst +++ b/Doc/c-api/bytes.rst @@ -192,9 +192,3 @@ called with a non-bytes parameter. reallocation fails, the original bytes object at *\*bytes* is deallocated, *\*bytes* is set to *NULL*, a memory exception is set, and ``-1`` is returned. - - -.. cfunction:: PyObject* PyBytes_Format(PyObject *format, PyObject *args) - - Return a new bytes object from *format* and *args*. Analogous to ``format % - args``. The *args* argument must be a tuple.