aboutsummaryrefslogtreecommitdiff
path: root/py/repl.c
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-01-10 16:13:06 +0200
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-01-11 00:12:06 +0200
commite06edce786eea0595b6729a2ee0c5084a2650cf0 (patch)
tree85f6fca25a4b4e6150b6052404782e4cfd282485 /py/repl.c
parent4b919d01350274ebdf4fc4df4ca60304a6ff9412 (diff)
mp_repl_is_compound_stmt(): Thinko fix s/true/try/.
Diffstat (limited to 'py/repl.c')
-rw-r--r--py/repl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/repl.c b/py/repl.c
index 473313c1e..412ab2008 100644
--- a/py/repl.c
+++ b/py/repl.c
@@ -20,7 +20,7 @@ bool mp_repl_is_compound_stmt(const char *line) {
str_startswith_word(line, "if")
|| str_startswith_word(line, "while")
|| str_startswith_word(line, "for")
- || str_startswith_word(line, "true")
+ || str_startswith_word(line, "try")
|| str_startswith_word(line, "with")
|| str_startswith_word(line, "def")
|| str_startswith_word(line, "class")