Python becoming less Lisp-like

Peter Maas peter at somewhere.com
Tue Mar 15 06:19:30 EST 2005


Carl Banks schrieb:
> In Python, classes aren't some magical land where the usual rules don't
> hold (as they are in many other languages).  That's why "self." is used
> on class variables, for instance.  A class is nothing more than a scope
> that uses a smittering of magic to turn it into a type.

scope -> dictionary

-- 
-------------------------------------------------------------------
Peter Maas,  M+R Infosysteme,  D-52070 Aachen,  Tel +49-241-93878-0
E-mail 'cGV0ZXIubWFhc0BtcGx1c3IuZGU=\n'.decode('base64')
-------------------------------------------------------------------



More information about the Python-list mailing list