MCPcopy 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

1def 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

pruneFunction · 0.85
graftFunction · 0.85
uniqueFunction · 0.70

Tested by

no test coverage detected