(source, filename, symbol, incomplete_input=True)
| 82 | return False |
| 83 | |
| 84 | def _compile(source, filename, symbol, incomplete_input=True): |
| 85 | flags = 0 |
| 86 | if incomplete_input: |
| 87 | flags |= PyCF_ALLOW_INCOMPLETE_INPUT |
| 88 | flags |= PyCF_DONT_IMPLY_DEDENT |
| 89 | return compile(source, filename, symbol, flags) |
| 90 | |
| 91 | def compile_command(source, filename="<input>", symbol="single"): |
| 92 | r"""Compile a command and determine whether it is incomplete. |
no test coverage detected