A question on modification of a list via a function invocation

Gregory Ewing greg.ewing at canterbury.ac.nz
Wed Sep 6 05:01:34 EDT 2017


Chris Angelico wrote:
> You can't do this with Python, since pointer arithmetic fundamentally
> doesn't exist.

Pointer arithmetic doesn't exist in Pascal either, yet
Pascal most definitely has pointers as a distinct data
type.

Insisting that only pointer arithmetic counts as
"manipulating" pointers seems a strange way of defining
the word.

-- 
Greg



More information about the Python-list mailing list