diff options
author | Damien George <damien.p.george@gmail.com> | 2018-05-10 23:07:19 +1000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2018-05-10 23:07:19 +1000 |
commit | 29d28c2574d6c0b93fd3fc869b389a61dee12102 (patch) | |
tree | 13124d35ef1c497a39cdef82a8303a606bcc0302 /tests/float/float_parse.py | |
parent | 7241d90272f4dfe4100723393cc2f348f5d32c0a (diff) | |
download | micropython-29d28c2574d6c0b93fd3fc869b389a61dee12102.tar.gz micropython-29d28c2574d6c0b93fd3fc869b389a61dee12102.zip |
py/modbuiltins: In built-in dir make use of mp_load_method_protected.
This gives dir() better behaviour when listing the attributes of a user
type that defines __getattr__: it will now not list those attributes for
which __getattr__ raises AttributeError (meaning the attribute is not
supported by the object).
Diffstat (limited to 'tests/float/float_parse.py')
0 files changed, 0 insertions, 0 deletions