aboutsummaryrefslogtreecommitdiffstats
path: root/python/gevent/thread.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/gevent/thread.py')
-rw-r--r--python/gevent/thread.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/python/gevent/thread.py b/python/gevent/thread.py
index 0a1af38..cceaf48 100644
--- a/python/gevent/thread.py
+++ b/python/gevent/thread.py
@@ -98,9 +98,8 @@ if hasattr(__thread__, 'stack_size'):
return _original_stack_size()
if size > _original_stack_size():
return _original_stack_size(size)
- else:
- pass
- # not going to decrease stack_size, because otherwise other greenlets in this thread will suffer
+ # not going to decrease stack_size, because otherwise other
+ # greenlets in this thread will suffer
else:
__implements__.remove('stack_size')