]> granicus.if.org Git - python/commit
bpo-36352: Clarify fileutils.h documentation (GH-12406)
authorVictor Stinner <vstinner@redhat.com>
Mon, 18 Mar 2019 16:47:26 +0000 (17:47 +0100)
committerGitHub <noreply@github.com>
Mon, 18 Mar 2019 16:47:26 +0000 (17:47 +0100)
commit1be0d1135f5627d0525eab635cf2da441d9cbc08
treea5f192aa122ed8399cc388133c835c17fa378a3c
parent72c7b372cf145fded93a9a776acc742a60090f95
bpo-36352: Clarify fileutils.h documentation (GH-12406)

The last parameter of _Py_wreadlink(), _Py_wrealpath() and
_Py_wgetcwd() is a length, not a size: number of characters including
the trailing NUL character.

Enhance also documentation of error conditions.
Include/fileutils.h
Python/fileutils.c