Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
KDevelop
KDevelop Python Support
Commits
75b4cb88
Commit
75b4cb88
authored
Oct 10, 2015
by
Sven Brauch
Browse files
introspect script: use getfullargspec instead of getargspec
BUG:349138
parent
df74eaef
Changes
1
Hide whitespace changes
Inline
Side-by-side
documentation_src/introspection/introspect.py
View file @
75b4cb88
...
...
@@ -409,7 +409,7 @@ class FunctionDumper:
def
dump
(
self
):
try
:
arguments
=
inspect
.
getargspec
(
self
.
function
)
arguments
=
inspect
.
get
full
argspec
(
self
.
function
)
arglist
=
list
()
for
index
,
argument
in
enumerate
(
arguments
.
args
):
if
len
(
arguments
.
args
)
-
index
-
1
>
len
(
arguments
.
defaults
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment