Created
January 23, 2010 00:14
-
-
Save vlazzle/284319 to your computer and use it in GitHub Desktop.
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
def test_filtered_really_in_2(y, xs): | |
def pred(e): return e is y | |
return filter(pred, xs) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment