mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Fix all Python Cookbook links (#22205)
This commit is contained in:
parent
5a565b3d7c
commit
ac0333e1e1
17 changed files with 20 additions and 20 deletions
|
|
@ -1141,7 +1141,7 @@ How do you remove duplicates from a list?
|
|||
|
||||
See the Python Cookbook for a long discussion of many ways to do this:
|
||||
|
||||
https://code.activestate.com/recipes/52560/
|
||||
https://github.com/ActiveState/code/tree/master/recipes/Python/52560_Remove_duplicates/recipe-52560.py
|
||||
|
||||
If you don't mind reordering the list, sort it and then scan from the end of the
|
||||
list, deleting duplicates as you go::
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue