[Lldb-commits] [PATCH] D127895: [lldb] Don't overwrite quit and exit builtins in the interactive python interpreter
Med Ismail Bennani via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed Jun 15 13:33:14 PDT 2022
mib added inline comments.
================
Comment at: lldb/source/Interpreter/embedded_interpreter.py:49-52
+ if line == 'exit':
+ raise LLDBExit
+ if line == 'quit':
+ raise LLDBExit
----------------
kastiglione wrote:
> could do:
> ```
> if line in ('exit', 'quit'):
> ```
+1
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D127895/new/
https://reviews.llvm.org/D127895
More information about the lldb-commits
mailing list