From d550a71e666ef3dfdf49f54bae76f5f5bdc9c7fd Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Sat, 19 Feb 2011 16:03:03 -0500 Subject: [PATCH] whitespace --- convore/api.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/convore/api.py b/convore/api.py index 42e768b..57af513 100644 --- a/convore/api.py +++ b/convore/api.py @@ -41,6 +41,7 @@ class Groups(UserList): except requests.HTTPError: return None + def __contains__(self, key): if isinstance(key, int): @@ -52,6 +53,7 @@ class Groups(UserList): return False + def __iter__(self): for group in self.data: yield group