Browse Source

bpo-36185: Fix typo in Doc/c-api/objbuffer.rst. (GH-12204)

pull/12218/head
Emmanuel Arias 7 years ago
committed by Serhiy Storchaka
parent
commit
ecc161d120
  1. 2
      Doc/c-api/objbuffer.rst

2
Doc/c-api/objbuffer.rst

@ -42,7 +42,7 @@ an object, and :c:func:`PyBuffer_Release` when the buffer view can be released.
Otherwise returns ``0``. This function always succeeds.
Note that this function tries to get and release a buffer, and exceptions
which occur while calling correspoding functions will get suppressed.
which occur while calling corresponding functions will get suppressed.
To get error reporting use :c:func:`PyObject_GetBuffer()` instead.

Loading…
Cancel
Save