From e06edce786eea0595b6729a2ee0c5084a2650cf0 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Fri, 10 Jan 2014 16:13:06 +0200 Subject: [PATCH] mp_repl_is_compound_stmt(): Thinko fix s/true/try/. --- py/repl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py/repl.c b/py/repl.c index 473313c1ef..412ab20081 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")