Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ActiveState/code
/ recipe-81932.py
File
recipe-81932.py
recipes/Python/81932_Synchronizing_two_lists/recipe-81932.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
def
prune(L, unique_items):
2
""
"Remove all items in the 'unique_items' list from list L"
""
3
map(L.remove, unique_items)
4
Callers
nothing calls this directly
Calls
3
prune
Function · 0.85
graft
Function · 0.85
unique
Function · 0.70
Tested by
no test coverage detected