From 12634f5eca80430f56609398e61e967e62eca196 Mon Sep 17 00:00:00 2001 From: Emmanuel Arias Date: Thu, 7 Mar 2019 02:16:41 -0300 Subject: [PATCH] bpo-36185: Fix typo in Doc/c-api/objbuffer.rst. (GH-12204) (cherry picked from commit ecc161d1209bf6d21f0fd6bef28476eda7cdaf79) Co-authored-by: Emmanuel Arias --- Doc/c-api/objbuffer.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/c-api/objbuffer.rst b/Doc/c-api/objbuffer.rst index 9ad7c571c4d8c1..3572564b13e9b3 100644 --- a/Doc/c-api/objbuffer.rst +++ b/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.