diff options
author | Anson Mansfield <amansfield@mantaro.com> | 2025-02-19 12:10:29 -0500 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2025-09-11 11:49:12 +1000 |
commit | 2327972947d6f5119ec13a95139fff090351c132 (patch) | |
tree | 38b8f69d460c1f2515a3ac917c901ba341a433af /py/objtuple.h | |
parent | 52d25928d57ed37d8ab675a5092fbe13bdae69a4 (diff) |
tests/cpydiff: Test for PEP487 __init_subclass__.
This commit documents and verifies the current absence of
`__init_subclass__` functionality, in anticipation of a possible future
PEP487 'metaclasses lite' patch.
The main `core_class_initsubclass.py` test verifies if the method is
automatically called, while the other three verify other orthogonal
properties it should have: if the method is an implicit classmethod; if
MicroPython supplies the base case for the usual recursive function body
the PEP encourages; and if kwargs inheritance parameters work correctly.
Signed-off-by: Anson Mansfield <amansfield@mantaro.com>
Diffstat (limited to 'py/objtuple.h')
0 files changed, 0 insertions, 0 deletions