]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-46236: Add docs for PyUnicode_GetDefaultEncoding() doc (GH-130335) (GH...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 24 Feb 2025 16:10:27 +0000 (17:10 +0100)
committerGitHub <noreply@github.com>
Mon, 24 Feb 2025 16:10:27 +0000 (17:10 +0100)
commite38cded3129a5172e92da8dc4ae1ab09e61d3647
tree43a47228687382e6c971ad709441370f9ba5c666
parent3c20e8bc3ad7e5cb9a7945b061aa4b9b27ff33db
[3.12] gh-46236: Add docs for PyUnicode_GetDefaultEncoding() doc (GH-130335) (GH-130512)

* Clarify sys.getdefaultencoding() documentation

* Add missing documentation for PyUnicode_GetDefaultEncoding,
  the C equivalent of sys.getdefaultencoding
(cherry picked from commit 9f25c1f012c8d432a93bf2dcad5f19a64dc00d3c)

Co-authored-by: RUANG (James Roy) <longjinyii@outlook.com>
Doc/c-api/unicode.rst
Doc/data/refcounts.dat
Doc/library/sys.rst