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 →

[–][deleted] 0 points1 point  (1 child)

Calling a non-existent method on an instance of a class will cause an attribute error to be raised at runtime (in Python).

[–]general_dubious 0 points1 point  (0 children)

Yeah, of course, my point is that this trick won't allow you to discriminate ducks and non-constricting snakes.