Modifying Class Object

Terry Reedy tjreedy at
Tue Feb 9 05:25:25 CET 2010

On 2/8/2010 2:10 PM, Alf P. Steinbach wrote:

> I apologize for assuming that "pointer" is a known word to [c.l.p.]
> denizens.

It is irrelevant.

Python calls Python functions by associating argument objects (or 
objects derived therefrom) with paramenter names, very much like 
assigment statements.

If one understands Python objects, names, and assignment statements, 
which one must to understand Python, this completely explains the 
function calls, function execution, and its effect on passed objects.

All Python expressions evaluate to an object. Call expressions evaluate 
to the object returned by the function.

Different interpreters implement call and return differently. Certainly, 
most humans do not use C pointers when they mentally execute Python code.

Terry Jan Reedy

More information about the Python-list mailing list