summaryrefslogtreecommitdiffstatshomepage
path: root/py
diff options
context:
space:
mode:
authorxbe <xbe@machine>2014-04-07 14:46:39 -0700
committerxbe <xbe@machine>2014-04-08 11:25:32 -0700
commit729be9b3c764535b2c0c1aa39e2a522cafbf8478 (patch)
tree797c0848656d583ce0112c5b98249078fd402202 /py
parent134c10e776a5d75cfdd6bf98697cb50d7da7adf6 (diff)
downloadmicropython-729be9b3c764535b2c0c1aa39e2a522cafbf8478.tar.gz
micropython-729be9b3c764535b2c0c1aa39e2a522cafbf8478.zip
py: Update comment in str.replace().
Diffstat (limited to 'py')
-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