Python-list Digest, Vol 75, Issue 6

Lie Ryan lie.1296 at gmail.com
Tue Dec 1 08:41:37 EST 2009


On 12/1/2009 11:27 PM, Nadav Chernin wrote:
> 	Nadav Chernin wrote:
> 	>  When I use getargspec(func) for user-defined function, all is
> working
> 	>  OK, but using it for built-in functions raise TypeError:
>
> 	That's just fine and to be expected. It's not possible to
> inspect a C function. Only functions implemented in Python have the
> necessary metadata.
>
> 	Christian
>
> OK, so how to know prototype of C functions?

read the docs..



More information about the Python-list mailing list