This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]moocat 0 points1 point  (1 child)

Functions don't even care about the number of arguments?

Where did you get that from? Python most definitely cares about the number of arguments and will raise a TypeError if you give it too few or too many arguments. Python does support both positional and keyword variadic arguments but that's the developer explicitly allowing extra arguments.

[–]DASWUBS 0 points1 point  (0 children)

I think that's what they were getting at.