mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
parent
91c77301bf
commit
4a22b5dee7
19 changed files with 65 additions and 115 deletions
|
@ -74,7 +74,7 @@ class ServerHTMLDoc(pydoc.HTMLDoc):
|
|||
title = '<a name="%s"><strong>%s</strong></a>' % (anchor, name)
|
||||
|
||||
if inspect.ismethod(object):
|
||||
args, varargs, varkw, defaults = inspect.getargspec(object.im_func)
|
||||
args, varargs, varkw, defaults = inspect.getargspec(object)
|
||||
# exclude the argument bound to the instance, it will be
|
||||
# confusing to the non-Python user
|
||||
argspec = inspect.formatargspec (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue