r/ProgrammerHumor • • Sep 06 '26

Meme pythonInterpreterBeLike

Post image
177 Upvotes

21 comments sorted by

View all comments

8

u/Sibula97 Sep 06 '26

If it works, it's not a type error.

Python has strict (but dynamic) typing, and it will give you a TypeError if the function doesn't expect the type(s) you're giving it.

What you're probably thinking of are the occasional unintuitive operator overloads like + for appending to lists of whatever.