Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
e06edce7
Commit
e06edce7
authored
Jan 10, 2014
by
Paul Sokolovsky
Browse files
mp_repl_is_compound_stmt(): Thinko fix s/true/try/.
parent
4b919d01
Changes
1
Hide whitespace changes
Inline
Side-by-side
py/repl.c
View file @
e06edce7
...
...
@@ -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
,
"tr
ue
"
)
||
str_startswith_word
(
line
,
"tr
y
"
)
||
str_startswith_word
(
line
,
"with"
)
||
str_startswith_word
(
line
,
"def"
)
||
str_startswith_word
(
line
,
"class"
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment