diff options
author | Damien George <damien.p.george@gmail.com> | 2018-05-10 23:10:46 +1000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2018-05-10 23:14:23 +1000 |
commit | 3678a6bdc6a925f2bce6423c41f911229836f946 (patch) | |
tree | 954bd10aefdaf95a238a7a8b6d11cf46dfee542d /tests/float/float_parse.py | |
parent | 29d28c2574d6c0b93fd3fc869b389a61dee12102 (diff) | |
download | micropython-3678a6bdc6a925f2bce6423c41f911229836f946.tar.gz micropython-3678a6bdc6a925f2bce6423c41f911229836f946.zip |
py/modbuiltins: Make built-in dir support the __dir__ special method.
If MICROPY_PY_ALL_SPECIAL_METHODS is enabled then dir() will now delegate
to the special method __dir__ if the object it is listing has this method.
Diffstat (limited to 'tests/float/float_parse.py')
0 files changed, 0 insertions, 0 deletions