[Tutor] beginning to code

Gregory Ewing greg.ewing at canterbury.ac.nz
Tue Sep 26 02:30:16 EDT 2017


Antoon Pardon wrote:
> It also says: This typically means that the function can modify the variable
> used as argument, something Python can do that.

No, it can't. It can modify the *object* bound to the variable,
but *not* the variable itself.

If you think it can, then you're misunderstanding what is
meant by "variable" in this context.

-- 
Greg



More information about the Python-list mailing list