What's wrong?

Steven D'Aprano steve at REMOVEMEcyber.com.au
Wed Jan 25 03:54:35 EST 2006


kishkin wrote:

> Hello everyone!
> 
> I wanted to write python script with defined function. From that script
> I wanted to call C module, which in it's turn call defined python
> function. Sounds simple. But I've got some troubles in realization. I'm
> beginner at python so it's normal, I think. :)
> 
> Here's the code. I'll apreciate if anyone can answer me what's wrong
> here.

[snip]

 >     if (!PyCallable_Chack(temp))  //here's error, 
but > I don't know why...

Er, do we have to guess what error you are getting?

No, no, I love to guess... should the function be spelt 
PyCallable_Chock with an o instead of an a?



-- 
Steven.




More information about the Python-list mailing list