[Python-ideas] An even simpler customization of class creation

Nick Coghlan ncoghlan at gmail.com
Mon Mar 9 01:12:38 CET 2015


On 9 Mar 2015 03:18, "Mark Young" <marky1991 at gmail.com> wrote:
>
> Thanks Nick! I swear I checked on the 3.x "Data Model" page, but I guess
not.

Every other reference on that page is to the class attribute rather than
the implicit method nonlocal, so it took a moment for me to relocate it
myself. I should have searched for "super" instead :)

Cheers,
Nick.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20150309/fe59858f/attachment-0001.html>


More information about the Python-ideas mailing list