SIGN IN SIGN UP

[3.12] gh-110803: Reorganize docs for what PyType_Slot doesn't cover (GH-110813) (#110823)

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...
(cherry picked from commit 2ab34f0e425d90d0a153104ef2f4343dce2a414d)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
M
Miss Islington (bot) committed
f2e353b9d85384f1e6320e8bd3e300a22994535a
Parent: 08242cd
Committed by GitHub <noreply@github.com> on 10/13/2023, 12:59:55 PM