Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
kzrdude
on Nov 6, 2011
|
parent
|
context
|
favorite
| on:
Python: copying a list the right way
A much more interesting line of python is
b[:] = a # copy a into b, while b keeps its identity.
Consider applying for YC's Fall 2026 batch!
Applications
are open till July 27.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
b[:] = a # copy a into b, while b keeps its identity.