summaryrefslogtreecommitdiff
path: root/eventlet/greenpool.py
diff options
context:
space:
mode:
authorSergey Shepelev <temotor@gmail.com>2014-07-18 15:21:26 +0400
committerSergey Shepelev <temotor@gmail.com>2014-08-27 10:21:55 +0400
commit203e629212be5cf6e53d577734421d494b255754 (patch)
tree5b7039ad6c4aa17cd2b65b7163595d9c8c45e25e /eventlet/greenpool.py
parente9486899e0d62325cc8ff4966291956ce01b87d0 (diff)
downloadeventlet-203e629212be5cf6e53d577734421d494b255754.tar.gz
PEP-8 fixes
Diffstat (limited to 'eventlet/greenpool.py')
-rw-r--r--eventlet/greenpool.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/eventlet/greenpool.py b/eventlet/greenpool.py
index fd78ba0..a2503fc 100644
--- a/eventlet/greenpool.py
+++ b/eventlet/greenpool.py
@@ -15,6 +15,7 @@ DEBUG = True
class GreenPool(object):
"""The GreenPool class is a pool of green threads.
"""
+
def __init__(self, size=1000):
self.size = size
self.coroutines_running = set()
@@ -187,6 +188,7 @@ class GreenPile(object):
than the one which is calling spawn. The iterator will exit early in that
situation.
"""
+
def __init__(self, size_or_pool=1000):
if isinstance(size_or_pool, GreenPool):
self.pool = size_or_pool