Lines Matching refs:ckmsg
141 def ckmsg(src, msg):
157 ckmsg(s, "'continue' not properly in loop")
158 ckmsg("continue\n", "'continue' not properly in loop")
161 def ckmsg(src, msg, exception=SyntaxError):
171 ckmsg(s, "Missing parentheses in call to 'print'. Did you mean print(...)?")
174 ckmsg(s, "Missing parentheses in call to 'print'. Did you mean print(...)?")
177 ckmsg(s, "Missing parentheses in call to 'print'. Did you mean print(...)?")
180 ckmsg(s, "Missing parentheses in call to 'exec'. Did you mean exec(...)?")
183 ckmsg(s, "Missing parentheses in call to 'exec'. Did you mean exec(...)?")
189 ckmsg(s, "invalid syntax")
192 ckmsg(s, "invalid syntax")
196 ckmsg(s, "expected an indented block after 'if' statement on line 1", IndentationError)
199 ckmsg(s, "inconsistent use of tabs and spaces in indentation", TabError)