]> granicus.if.org Git - python/commit
Document the error return of PyLong_As* APIs. (GH-5396) (#5404)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 29 Jan 2018 17:24:11 +0000 (09:24 -0800)
committerGregory P. Smith <greg@krypto.org>
Mon, 29 Jan 2018 17:24:11 +0000 (09:24 -0800)
commit586986182343eb7475046a5429a1a0e1f368c7ea
treec67c06715c0c3fbcd1c1408690c1dc0ab1f2ebf0
parent0cecc22842dcc4090eb9cb99e7dababea7034a87
Document the error return of PyLong_As* APIs. (GH-5396) (#5404)

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().
(cherry picked from commit f5b04a360e44aa9733f7a92dd66d2292d6c52955)
Doc/c-api/long.rst