Created
September 21, 2013 18:43
-
-
Save imduffy15/6653078 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 filter_by_name(data, name): | |
| for item in data: | |
| if item['name'] == name: | |
| return item | |
| return None |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment