Socket connection

Simon Foster simon at uggs.demon.co.uk
Fri Mar 7 20:46:45 EST 2003


On Fri, 07 Mar 2003 08:59:39 -0600, sik0fewl
<xxdigitalhellxx at hotmail.com> wrote:

>Hey,
>
>I fixed the problem, thanks for your input, guys. It problem ended up 
>having to do with assigning a list to another list. (That's what I get 
>for not posting all my code)
>
>I had no idea that x = y just references y to x (when x & y are lists).
>ie,
> >>> x = []
> >>> y = x
> >>> id(x)
>17763920
> >>> id(y)
>17763920
>
>Could somebody point me to the documentation on this?

Here is the documentation:

"In Python, everything is a reference"
--
Simon Foster
Somewhere in the West of England




More information about the Python-list mailing list