Python Macros

Andrew Dalke adalke at mindspring.com
Tue Oct 5 05:36:52 EDT 2004


Jacek Generowicz wrote:
> _Most_ object-oriented languages support object orientation via the
> message passing paradigm. Python included.

Translating the Smalltalk notation to Python -- what are
the messages?  Is it that

   x.y(z)

means "send the __call__  (z)" message to the result of
the "z __getattr__ 'y'" message?

				Andrew
				dalke at dalkescientific.com



More information about the Python-list mailing list