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 f8bb55d commit 1512ebdCopy full SHA for 1512ebd
Doc/c-api/picklebuffer.rst
@@ -41,10 +41,10 @@ A :class:`pickle.PickleBuffer` object wraps a :ref:`buffer-providing object
41
42
Get a pointer to the underlying :c:type:`Py_buffer` that the pickle buffer wraps.
43
44
- On success, return a pointer to the buffer view.
45
The returned pointer is valid as long as *picklebuf* is alive and has not been
46
released. The caller must not modify or free the returned :c:type:`Py_buffer`.
47
+ On success, return a pointer to the buffer view.
48
On failure, set an exception and return ``NULL``.
49
If the pickle buffer has been released, raise :exc:`ValueError`.
50
0 commit comments