From 729be9b3c764535b2c0c1aa39e2a522cafbf8478 Mon Sep 17 00:00:00 2001 From: xbe Date: Mon, 7 Apr 2014 14:46:39 -0700 Subject: [PATCH] py: Update comment in str.replace(). --- py/objstr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py/objstr.c b/py/objstr.c index 5e9f0c76b6..7af08fe0b9 100644 --- a/py/objstr.c +++ b/py/objstr.c @@ -1128,7 +1128,7 @@ STATIC mp_obj_t str_replace(uint n_args, const mp_obj_t *args) { } } - // if max_rep is still 0 by this point we will need to do all possible replacements + // if max_rep is still -1 by this point we will need to do all possible replacements // check argument types