Merge branch 'fix-format-int' of github.com:dhylands/micropython into dhylands-fix-format-int

Conflicts:
	py/objstr.c
travis
Damien George 2014-04-02 20:37:05 +01:00
commit cc7085c1ce
1 changed files with 2 additions and 0 deletions

View File

@ -790,6 +790,8 @@ mp_obj_t str_format(uint n_args, const mp_obj_t *args) {
}
}
// NOTE: no else here. We need the e, f, g etc formats for integer
// arguments (from above if) to take this if.
if (arg_looks_numeric(arg)) {
if (!type) {