A question on modification of a list via a function invocation
Steve D'Aprano
steve+python at pearwood.info
Wed Sep 6 21:27:00 EDT 2017
More information about the Python-list mailing list
Wed Sep 6 21:27:00 EDT 2017
- Previous message (by thread): A question on modification of a list via a function invocation
- Next message (by thread): A question on modification of a list via a function invocation
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, 7 Sep 2017 12:11 am, Antoon Pardon wrote: [...] > No it would not translate to the above diagram. It would translate to my > diagram. All variables in pascal refer to some object (in memory), they don't > refer to other variables. If you have a pointer variable, you have a variable > that refers to an object that itself refers to an other object. This later > object can be one that is refered to directly by another variable, like code > as above. I'm afraid that I have no idea what you are talking about -- your explanation is unclear to me. [...] > Yes it is. Pascal VAR parameters are exactly like Python a assignment. Proof by assertion? "It is true, because I say it is true!" -- Steve “Cheer up,” they said, “things could be worse.” So I cheered up, and sure enough, things got worse.
- Previous message (by thread): A question on modification of a list via a function invocation
- Next message (by thread): A question on modification of a list via a function invocation
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list