mirror of
https://github.com/micropython/micropython.git
synced 2025-12-16 09:50:15 +01:00
py/objpolyiter: Add a new polyiter type with finaliser support.
This commit is contained in:
committed by
Damien George
parent
4903e48e34
commit
582b3e4e78
3
py/obj.h
3
py/obj.h
@@ -677,6 +677,9 @@ extern const mp_obj_type_t mp_type_stringio;
|
||||
extern const mp_obj_type_t mp_type_bytesio;
|
||||
extern const mp_obj_type_t mp_type_reversed;
|
||||
extern const mp_obj_type_t mp_type_polymorph_iter;
|
||||
#if MICROPY_ENABLE_FINALISER
|
||||
extern const mp_obj_type_t mp_type_polymorph_iter_with_finaliser;
|
||||
#endif
|
||||
|
||||
// Exceptions
|
||||
extern const mp_obj_type_t mp_type_BaseException;
|
||||
|
||||
Reference in New Issue
Block a user