Comment on Python: copying a list the right wayparentComments−sixtofour14yHe's probably referring to this, from the article:"Isn’t it better, less cryptic, and more pythonic? a[:] feels a bit too much like Perl. Unlike with the slicing notation, those who don’t know Python will understand that b contains a list."
Comments
He's probably referring to this, from the article:
"Isn’t it better, less cryptic, and more pythonic? a[:] feels a bit too much like Perl. Unlike with the slicing notation, those who don’t know Python will understand that b contains a list."