[Lldb-commits] [lldb] [llvm] [lldb] Add type hints to gdbclientutils.py and use abstract base class (PR #162172)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Fri Oct 10 07:36:20 PDT 2025


================
@@ -242,7 +245,7 @@ def qProcessInfo(self):
     def qHostInfo(self):
         return "ptrsize:8;endian:little;"
 
-    def qEcho(self):
+    def qEcho(self, _: int):
----------------
DavidSpickett wrote:

Right so if you name it `_` then we lose the hint of what it's for, if you don't the linter complains but that's ok for now.

That's fine with me.

https://github.com/llvm/llvm-project/pull/162172


More information about the lldb-commits mailing list