Aargh! Function takes exactly x arguments, y given..

David C. Ullrich ullrich at math.okstate.edu
Mon Jun 18 09:45:36 EDT 2001


On Mon, 18 Jun 2001 14:26:13 +0200, "Anders And" <someone at spam.com>
wrote:

>Hi!
>
>I am a happy pythoneer using a combination of C++ and Python for my everyday
>work.
>Usually, debugging is easy but every now and then, I get the "function takes
>exactly x arguments, y given" error message, clearly due to some other
>problem than what Python thinks. 

The "clearly" is not at all clear unless you give an actual example.

>Does anybody have any experience with this
>particular error message? I don't know what triggers it and thinking back, I
>think I have solved most of my problems with this message with a major code
>rewrite.
>
>Please help!
>
>Kristian
>
>



David C. Ullrich
*********************
"Sometimes you can have access violations all the 
time and the program still works." (Michael Caracena, 
comp.lang.pascal.delphi.misc 5/1/01)



More information about the Python-list mailing list