> https://en.wikipedia.org/wiki/Liskov_substitution_principle > https://en.wikipedia.org/wiki/Don%27t_repeat_yourself
I did an internet search for: python liskov (over the past year). The first result was a Ruby page (but principle probably the same) https://www.netguru.co/codestories/solid-principles-3-lsp The second result was "Incompatibile signature with supertype" https://github.com/python/mypy/issues/4250 And the code example was class FrozenDict(MutableMapping): # code So there's prior Python art for FrozenDict and Liskov inheritance. -- Jonathan _______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/