Skip to content

Commit 1512ebd

Browse files
Update Doc/c-api/picklebuffer.rst
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
1 parent f8bb55d commit 1512ebd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/c-api/picklebuffer.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@ A :class:`pickle.PickleBuffer` object wraps a :ref:`buffer-providing object
4141
4242
Get a pointer to the underlying :c:type:`Py_buffer` that the pickle buffer wraps.
4343
44-
On success, return a pointer to the buffer view.
4544
The returned pointer is valid as long as *picklebuf* is alive and has not been
4645
released. The caller must not modify or free the returned :c:type:`Py_buffer`.
4746
47+
On success, return a pointer to the buffer view.
4848
On failure, set an exception and return ``NULL``.
4949
If the pickle buffer has been released, raise :exc:`ValueError`.
5050

0 commit comments

Comments
 (0)