(self, line)
| 3077 | return super()._error_exc() |
| 3078 | |
| 3079 | def default(self, line): |
| 3080 | # Unlike Pdb, don't prompt for more lines of a multi-line command. |
| 3081 | # The remote needs to send us the whole block in one go. |
| 3082 | try: |
| 3083 | candidate = line.removeprefix("!") + "\n" |
| 3084 | if codeop.compile_command(candidate, "<stdin>", "single") is None: |
| 3085 | raise SyntaxError("Incomplete command") |
| 3086 | return super().default(candidate) |
| 3087 | except: |
| 3088 | self._error_exc() |
| 3089 | |
| 3090 | |
| 3091 | class _PdbClient: |
nothing calls this directly
no test coverage detected