Skip to content

Commit 3e07341

Browse files
committed
python 3.2 doesn't have list.copy
1 parent ae91cf2 commit 3e07341

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lists-and-tuples.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ like this:
205205

206206
![Different lists.](images/differentlist.png)
207207

208-
If you're using Python 3.2 or older you can do `a[:]` instead
208+
If you're using Python 3.2 or older you need to do `a[:]` instead
209209
of `a.copy()`. `a[:]` is a slice of the whole list, just like
210210
`a[0:]`.
211211

0 commit comments

Comments
 (0)