diff options
| author | Jeff Epler <jepler@gmail.com> | 2019-08-10 10:10:41 -0500 |
|---|---|---|
| committer | Jeff Epler <jepler@gmail.com> | 2019-08-10 10:10:41 -0500 |
| commit | 3eb418af39ad6151c9af4caf5c129397c7c14f67 (patch) | |
| tree | eddf05a5ed2d8a8ba049a24e7615c4d29ad00e86 /tools/tinytest-codegen.py | |
| parent | 47a0b7cba141efb0909d74db3401ae902f6e9a96 (diff) | |
py: mp_obj_tuple_get: accept any item which can use tuple_getiter
.. such as namedtuple and attrtuple objects. This is the same
predicate used elsewhere in the file to check for adequate compatibility
between the types.
This was discovered due to crashing `time.time()` on the nrf port.
Closes: #2052
Diffstat (limited to 'tools/tinytest-codegen.py')
0 files changed, 0 insertions, 0 deletions
