osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Tutor] beginning to code


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