mirror of
https://github.com/python/cpython.git
synced 2026-06-21 02:22:23 -04:00
16185e9fe2
The initial implementation of PEP 820 worsened the error message when non-types are given as base types in Py_tp_bases & Py_tp_base. Bring back the 'bases must be types' wording and add a 'got' note for easier debugging. Improve slot ID documentation, and soft-deprecate Py_tp_base (as per the PEP).