Groups
Groups
Sign in
Groups
Groups
pyhome
Conversations
About
Send feedback
Help
通过python怎样获取一个函数的参数列表
1 view
Skip to first unread message
Seven
unread,
Nov 1, 2011, 4:40:41 AM
11/1/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to home of python
当我们使用python生成文档的时候,一般都会显示出函数的参数列表,以及各个参数的含义。
可是该怎么获取到呢?
比如函数:
def foo(count, **args):
pass
怎样获取到foo的这两个参数呢?
丅一站→火星
unread,
Dec 14, 2011, 7:20:04 AM
12/14/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to home of python
可能还是要查看手册吧
或者help
Reply all
Reply to author
Forward
0 new messages