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 -- https://mail.python.org/mailman/listinfo/python-list