-
- Downloads
Enhance str.format support
This adds support for almost everything (the comma isn't currently supported). The "unspecified" type with floats also doesn't behave exactly like python. Tested under unix with float and double Spot tested on stmhal
Showing
- py/formatfloat.c 1 addition, 0 deletionspy/formatfloat.c
- py/obj.c 4 additions, 0 deletionspy/obj.c
- py/objstr.c 373 additions, 11 deletionspy/objstr.c
- py/pfenv.c 208 additions, 0 deletionspy/pfenv.c
- py/pfenv.h 23 additions, 0 deletionspy/pfenv.h
- py/py.mk 1 addition, 0 deletionspy/py.mk
- stmhal/printf.c 28 additions, 122 deletionsstmhal/printf.c
- tests/basics/string-format.py 138 additions, 8 deletionstests/basics/string-format.py
Loading
Please register or sign in to comment