-
- Downloads
py: Add mp_obj_get_int_truncated and use it where appropriate.
mp_obj_get_int_truncated will raise a TypeError if the argument is not an integral type. Use mp_obj_int_get_truncated only when you know the argument is a small or big int.
Showing
- cc3200/mods/modusocket.c 1 addition, 1 deletioncc3200/mods/modusocket.c
- extmod/modure.c 2 additions, 2 deletionsextmod/modure.c
- py/obj.c 8 additions, 0 deletionspy/obj.c
- py/obj.h 1 addition, 0 deletionspy/obj.h
- py/objtype.c 1 addition, 1 deletionpy/objtype.c
- py/stream.c 1 addition, 1 deletionpy/stream.c
- stmhal/modusocket.c 1 addition, 1 deletionstmhal/modusocket.c
Please register or sign in to comment