Inspired by a great question (and bunch of great answers) from here.
Does the statement \"Code against an interface, not an object\" have any significance in Python?
What's the Python version for “Code against an interface, not an object.”?
The proper quote is "program against an interface, not an implementation". The principle holds the same way in Python that it did in Smalltalk, the language it in which it originated.
Does the statement "Code against an interface, not an object." have any significance in Python?
Yes. It has the same significance in Python as it has in the language that this quote originated from (Smalltalk), and in every other language.