summaryrefslogtreecommitdiffstatshomepage
path: root/py/objstr.c
diff options
context:
space:
mode:
Diffstat (limited to 'py/objstr.c')
-rw-r--r--py/objstr.c2
1 files changed, 1 insertions, 1 deletions
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