From 76d982ef343dcadd35355aed9c568984c850fb7b Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Mon, 13 Jan 2014 19:19:16 +0200 Subject: type->print(): Distinguish str() and repr() variety by passing extra param. --- py/objtuple.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'py/objtuple.h') diff --git a/py/objtuple.h b/py/objtuple.h index 9c672fe3f5..6ff38c10eb 100644 --- a/py/objtuple.h +++ b/py/objtuple.h @@ -4,4 +4,4 @@ typedef struct _mp_obj_tuple_t { mp_obj_t items[]; } mp_obj_tuple_t; -void tuple_print(void (*print)(void *env, const char *fmt, ...), void *env, mp_obj_t o_in); +void tuple_print(void (*print)(void *env, const char *fmt, ...), void *env, mp_obj_t o_in, mp_print_kind_t kind); -- cgit v1.2.3