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

This commit is contained in:
Paul Sokolovsky 2014-01-10 16:13:06 +02:00
parent 4b919d0135
commit e06edce786
1 changed files with 1 additions and 1 deletions

View File

@ -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")