Open microbit-robert opened 5 months ago
Preview build will be at https://review-python-editor-v3.microbit.org/builtins-filters/
Unfortunate case where we are filtering out __new__
(with other special methods), but they are the only methods documented in the class:
Also allows links to the builtins from autocomplete and signature help where documentation is available.
Using type stubs from https://github.com/microbit-foundation/micropython-microbit-stubs/pull/101
To discuss:
__new__
Notes from Matt:
__new__
but not convinced about exposing__new__
vs__init__
complexity to our users. But hard to mask it too... for str and list at least they do need to understand it as an object with methods.