Python supports LSP, does it?

Andy Leszczynski leszczynscyATnospam.yahoo.com.nospam
Tue Aug 9 19:36:56 EDT 2005


wikipedia 
(http://en.wikipedia.org/wiki/Python_programming_language#Object-oriented_programming) 
says:
"""
Python's support for object oriented programming paradigm is vast. It 
supports polymorphism [...] fully in the Liskov substitution 
principle-sense for all objects.
"""

Just wondering if it is true statement. Is not LSP more a quality of the 
desing of class hierachy rather then language itslef? Comments?

AndyL



More information about the Python-list mailing list