]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-110803: Reorganize docs for what PyType_Slot doesn't cover (GH-110813)
authorPetr Viktorin <encukou@gmail.com>
Fri, 13 Oct 2023 12:51:48 +0000 (14:51 +0200)
committerGitHub <noreply@github.com>
Fri, 13 Oct 2023 12:51:48 +0000 (14:51 +0200)
commit2ab34f0e425d90d0a153104ef2f4343dce2a414d
tree1a8152df26e45be5780d0be52170fdb41c175359
parent11bbe6c6e13980ef9fe2bc4c39b9642524062c4e
gh-110803: Reorganize docs for what PyType_Slot doesn't cover (GH-110813)

* gh-110803: Reorganize docs for what PyType_Slot doesn't cover

- Cover the offset fields first
- Mention the old alternative for MANAGED flags, which is needed
  to support older Pythons
- De-emphasize the internal flags: use an inline list.
- Add a note to PyMemberDef saying what to do with it

* Remove an older draft...
Doc/c-api/structures.rst
Doc/c-api/type.rst