diff options
author | David Lechner <david@pybricks.com> | 2022-11-17 14:15:46 -0600 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2024-07-25 12:01:43 +1000 |
commit | d1bf0eeb0fb0c485da076075a15ffdfd5fb68303 (patch) | |
tree | 53973e585dbc3f03f3a1e795a238a0a55790a9e4 /tests/basics/subclass_classmethod.py | |
parent | 9ca668f881865958cbcc0e6341849a6133c4c7b4 (diff) |
tests/cpydiff: Add diff for overriding __init__.
This adds a CPython diff that explains why calling `super().__init__()` is
required in MicroPython when subclassing a native type (because `__new__`
and `__init__` are not separate functions).
Signed-off-by: David Lechner <david@pybricks.com>
Diffstat (limited to 'tests/basics/subclass_classmethod.py')
0 files changed, 0 insertions, 0 deletions