Potential patch for #5381

This commit is contained in:
Miroslav Stampar
2023-04-05 09:28:14 +02:00
parent 4dd362cb2c
commit 7d763e224a
2 changed files with 3 additions and 1 deletions

View File

@@ -330,3 +330,5 @@ if not hasattr(inspect, "getargspec") and hasattr(inspect, "getfullargspec"):
spec = getfullargspec(func)
kwargs = makelist(spec[0]) + makelist(spec.kwonlyargs)
return kwargs, spec[1], spec[2], spec[3]
inspect.getargspec = getargspec