mirror of
https://github.com/python/cpython.git
synced 2026-05-06 12:49:07 -04:00
b22ff1e543
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.
Source files for various builtin objects