]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-46236: PyUnicode docs improvements (GH-129966)
authorPetr Viktorin <encukou@gmail.com>
Fri, 28 Feb 2025 14:11:44 +0000 (15:11 +0100)
committerGitHub <noreply@github.com>
Fri, 28 Feb 2025 14:11:44 +0000 (15:11 +0100)
commite21863ce78b17ab9fc98df08681d89e57c275a60
tree59823be266cd18c827c23c962b70f0df8ff4f1ff
parent9f0879baf15fdcf89f1b85cc244d596d4d0f4e47
gh-46236: PyUnicode docs improvements (GH-129966)

Move deprecated PyUnicode API docs to new section

Move Py_UNICODE to a new "Deprecated API" section.

Formally soft-deprecate PyUnicode_READY, and move it

Document and soft-deprecate PyUnicode_IS_READY, and move it

Document PyUnicode_IS_ASCII, PyUnicode_CHECK_INTERNED

PyUnicode_New docs: Clarify requirements for "fresh" strings

PyUnicodeWriter_DecodeUTF8Stateful: Link "error-handlers"

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Doc/c-api/unicode.rst
Include/cpython/unicodeobject.h