mirror of
https://github.com/kennethreitz-archive/python-convore.git
synced 2026-06-05 23:40:18 +00:00
whitespace
This commit is contained in:
@@ -28,6 +28,7 @@ class SyncedList(object):
|
||||
def __repr__(self):
|
||||
return str(self.data)
|
||||
|
||||
|
||||
def __getitem__(self, key):
|
||||
|
||||
if isinstance(key, int):
|
||||
@@ -44,10 +45,12 @@ class SyncedList(object):
|
||||
self.data.append(_fetched)
|
||||
return _fetched
|
||||
|
||||
|
||||
def __iter__(self):
|
||||
for d in self.data:
|
||||
yield d
|
||||
|
||||
|
||||
def __len__(self):
|
||||
return len(self.data)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user