SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

72125 0 8 Python

gh-140550: allow slots that repeat information from PyModuleDef (GH-144340)

When integrating slots-based module creation is with the inittab,
which currently requires PyModuleDef, it would be convenient to
reuse the the same slots array for the MethodDef.

Allow slots that match what's already present in the PyModuleDef.
P
Petr Viktorin committed
b22ff1e543a458fff7b11225bf743d1730bbcc71
Parent: 432ddd9
Committed by GitHub <noreply@github.com> on 2/9/2026, 10:35:43 AM