Python Forum
TypeError: this function takes 3 arguments (5 given) - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: Game Development (https://python-forum.io/forum-11.html)
+--- Thread: TypeError: this function takes 3 arguments (5 given) (/thread-8664.html)



TypeError: this function takes 3 arguments (5 given) - mario1919 - Mar-02-2018

Where's error?

TypeError: this function takes 3 arguments (5 given)


RE: TypeError: this function takes 3 arguments (5 given) - nilamo - Apr-05-2018

Exactly where it says the error is. Whatever function you're calling has only 3 parameters, and you're passing 5. That's an error, because the function wouldn't know what to do with that many parameters.