[Lldb-commits] [PATCH] D121786: [LLDB] Update inspect getargspec to getfullargspec
Muhammad Omair Javaid via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed Apr 20 13:34:37 PDT 2022
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG5341b5f8d3ce: [LLDB] Update inspect getargspec to getfullargspec (authored by omjavaid).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D121786/new/
https://reviews.llvm.org/D121786
Files:
lldb/packages/Python/lldbsuite/support/funcutils.py
Index: lldb/packages/Python/lldbsuite/support/funcutils.py
===================================================================
--- lldb/packages/Python/lldbsuite/support/funcutils.py
+++ lldb/packages/Python/lldbsuite/support/funcutils.py
@@ -1,7 +1,7 @@
import inspect
def requires_self(func):
- func_argc = len(inspect.getargspec(func).args)
+ func_argc = len(inspect.getfullargspec(func).args)
if func_argc == 0 or (
getattr(
func,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D121786.424011.patch
Type: text/x-patch
Size: 472 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20220420/3383924b/attachment.bin>
More information about the lldb-commits
mailing list