From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Thu, 7 Mar 2019 05:24:55 +0000 (-0800) Subject: bpo-36185: Fix typo in Doc/c-api/objbuffer.rst. (GH-12204) X-Git-Tag: v3.7.3rc1~21 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ca5ba3c8ac1dad511461d4251ffffc6a1ca19de2;p=thirdparty%2FPython%2Fcpython.git bpo-36185: Fix typo in Doc/c-api/objbuffer.rst. (GH-12204) (cherry picked from commit ecc161d1209bf6d21f0fd6bef28476eda7cdaf79) Co-authored-by: Emmanuel Arias --- diff --git a/Doc/c-api/objbuffer.rst b/Doc/c-api/objbuffer.rst index 9ad7c571c4d8..3572564b13e9 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.