Created
June 27, 2014 03:26
-
-
Save octopuscabbage/6af69a7c7c1b7fedb7a9 to your computer and use it in GitHub Desktop.
clone exlcuding.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#The function f should return true iff is supplied the key you want to remove | |
def cloneExcluding(f, seq): | |
return filter(f, seq) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment