]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-141004: Mark up docs of old PyMem macros (GH-143783)
authorPetr Viktorin <encukou@gmail.com>
Thu, 15 Jan 2026 11:37:30 +0000 (12:37 +0100)
committerGitHub <noreply@github.com>
Thu, 15 Jan 2026 11:37:30 +0000 (12:37 +0100)
commita009e78b79ec340d9ff0e1a8ad20f8178fd3257f
tree9f741460d08a3fdd1567cff5206ec2aca5e028a3
parent1597d00d96057aaad82dc201d493044b609df42b
gh-141004: Mark up docs of old PyMem macros (GH-143783)

These had a docs-only deprecation notice since the first version of the docs in this repo. Nowadays we call things “soft deprecated” if there's just a note in the docs.

The deprecated directive needs a version, I went with the first one that had the notice (2.0; it's not in 1.6):
- https://docs.python.org/release/2.0/api/memoryInterface.html
- https://docs.python.org/release/1.6/api/memoryInterface.html

Since PEP 445, they are now direct aliases; there are no (additional) binary compatibility concerns over the preferred names.
Doc/c-api/memory.rst