pointers & references in python?

Michael Hudson mwh at python.net
Fri Aug 16 10:04:26 EDT 2002


sami sieranoja <sami.sieranoja at pp.inet.fi> writes:

> is there something like this in python:
> 
> a = 1
> b = &a
> b = 3
> print a
> 
> OUTPUT:
> 3

No.  Most of us consider this to be a good thing.

Cheers,
M.

-- 
  NUTRIMAT:  That drink was individually tailored to meet your
             personal requirements for nutrition and pleasure.
    ARTHUR:  Ah.  So I'm a masochist on a diet am I?
                    -- The Hitch-Hikers Guide to the Galaxy, Episode 9



More information about the Python-list mailing list