deadmeat <root@[127.0.0.1]> wrote in comp.lang.python: > > The same statement behaves *exactly the same*. > > No, it doesn't. > > > It's the next statements > > (b[5] = 9, b = 9) that behave entirely differently. > > Are you on crack? a = b in the first example copies the data across. It does not. It merely makes the pointer 'a' point to the same thing 'b' is pointing to. '=' never copies, that would be inconsistent. -- Remco Gerlich
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4