[Lldb-commits] [lldb] [lldb/script] Add type hints to scripted extension base classes (PR #209680)
Dave Lee via lldb-commits
lldb-commits at lists.llvm.org
Wed Jul 15 08:53:50 PDT 2026
================
@@ -39,7 +40,10 @@ class OperatingSystem(ScriptedThread):
described by the dictionary returned from a call to the get_register_info() method.
"""
- def __init__(self, process):
+ registers: dict
+ threads: list
----------------
kastiglione wrote:
I assume these are treated as `dict[Any, Any]` and `list[Any]`. Is there a more specific type you can use other than `Any`?
https://github.com/llvm/llvm-project/pull/209680
More information about the lldb-commits
mailing list