]> granicus.if.org Git - python/commit
Document the error return of PyLong_As* APIs. (#5396)
authorGregory P. Smith <greg@krypto.org>
Mon, 29 Jan 2018 01:48:31 +0000 (17:48 -0800)
committerGitHub <noreply@github.com>
Mon, 29 Jan 2018 01:48:31 +0000 (17:48 -0800)
commitf5b04a360e44aa9733f7a92dd66d2292d6c52955
treea37837f215ab9a5142ef303c9959fd842e73852f
parentc7ab581db216aeeb1c2aa7af2f2198d2b7516383
Document the error return of PyLong_As* APIs. (#5396)

Document the error return of PyLong_As* APIs.

A frequent Python C API usage error is neglecting to check the return
value and/or PyErr_Occurred().
Doc/c-api/long.rst