A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2015-February/138258.html below:

[Python-Dev] subclassing builtin data structures

[Python-Dev] subclassing builtin data structures [Python-Dev] subclassing builtin data structuresGreg Ewing greg.ewing at canterbury.ac.nz
Sat Feb 14 01:19:15 CET 2015
Isaac Schwabacher wrote:
> IIUC, the argument is that the Liskov Substitution Principle is a statement
> about how objects of a subtype behave relative to objects of a supertype, and
> it doesn't apply to constructors because they aren't behaviors of existing
> objects.

Another way to say that is that constructors are class
methods, not instance methods.

-- 
Greg
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4