Commit e06edce7 authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

mp_repl_is_compound_stmt(): Thinko fix s/true/try/.

parent 4b919d01
...@@ -20,7 +20,7 @@ bool mp_repl_is_compound_stmt(const char *line) { ...@@ -20,7 +20,7 @@ bool mp_repl_is_compound_stmt(const char *line) {
str_startswith_word(line, "if") str_startswith_word(line, "if")
|| str_startswith_word(line, "while") || str_startswith_word(line, "while")
|| str_startswith_word(line, "for") || str_startswith_word(line, "for")
|| str_startswith_word(line, "true") || str_startswith_word(line, "try")
|| str_startswith_word(line, "with") || str_startswith_word(line, "with")
|| str_startswith_word(line, "def") || str_startswith_word(line, "def")
|| str_startswith_word(line, "class") || str_startswith_word(line, "class")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment