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/2003-June/036183.html below:

[Python-Dev] Sneaky 'super' instances

[Python-Dev] Sneaky 'super' instances [Python-Dev] Sneaky 'super' instancesGuido van Rossum guido@python.org
Wed, 11 Jun 2003 11:13:08 -0400
> >Well, nested classes aren't exactly a recommended idiom in Python...
> 
> The only thing I ever use them for is for defining a descriptor that
> goes inside that class (and isn't used by other classes).  It reads
> much more naturally than defining the descriptors outside the class,
> and then putting them in.

Whether or not that reads more naturally depends on other factors,
like who is reading the code.

--Guido van Rossum (home page: http://www.python.org/~guido/)



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