summaryrefslogtreecommitdiff
path: root/Doc
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2011-03-13 19:35:04 +0100
committerAntoine Pitrou <solipsis@pitrou.net>2011-03-13 19:35:04 +0100
commit6c2de586c6c0bcfbd6388c64e698ea472e21eeb9 (patch)
treea8d04f3501e7f07eb0d29732a2e27daf28af2fca /Doc
parentd1c1628bc9ebb71016e7671af9996de6ce64d385 (diff)
downloadcpython-6c2de586c6c0bcfbd6388c64e698ea472e21eeb9.tar.gz
Remove documentation to non-existent function PyObject_CopyToObject (fixes #11478)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/c-api/buffer.rst14
1 files changed, 0 insertions, 14 deletions
diff --git a/Doc/c-api/buffer.rst b/Doc/c-api/buffer.rst
index ee5d17a510..a75b07bf1c 100644
--- a/Doc/c-api/buffer.rst
+++ b/Doc/c-api/buffer.rst
@@ -266,20 +266,6 @@ Buffer related functions
:cdata:`~Py_buffer.format`.
-.. cfunction:: int PyObject_CopyToObject(PyObject *obj, void *buf, Py_ssize_t len, char fortran)
-
- Copy *len* bytes of data pointed to by the contiguous chunk of memory
- pointed to by *buf* into the buffer exported by obj. The buffer must of
- course be writable. Return 0 on success and return -1 and raise an error
- on failure. If the object does not have a writable buffer, then an error
- is raised. If *fortran* is ``'F'``, then if the object is
- multi-dimensional, then the data will be copied into the array in
- Fortran-style (first dimension varies the fastest). If *fortran* is
- ``'C'``, then the data will be copied into the array in C-style (last
- dimension varies the fastest). If *fortran* is ``'A'``, then it does not
- matter and the copy will be made in whatever way is more efficient.
-
-
.. cfunction:: int PyBuffer_IsContiguous(Py_buffer *view, char fortran)
Return 1 if the memory defined by the *view* is C-style (*fortran* is