unexpected behavior: did i create a pointer?

Peter Otten __peter__ at web.de
Fri Sep 7 07:49:43 EDT 2007


Am Fri, 07 Sep 2007 10:40:47 +0000 schrieb Steven D'Aprano:

> Python doesn't have any pointers.

Thinking of python variables or "names" as pointers should
get you a long way when trying to understand python's behaviour.

As long as you keep in mind that python doesn't have pointers to pointers,
and no pointer arithmetic either...

Peter



More information about the Python-list mailing list