summaryrefslogtreecommitdiff
path: root/trollius/coroutines.py
diff options
context:
space:
mode:
Diffstat (limited to 'trollius/coroutines.py')
-rw-r--r--trollius/coroutines.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/trollius/coroutines.py b/trollius/coroutines.py
index 9def984..6a06989 100644
--- a/trollius/coroutines.py
+++ b/trollius/coroutines.py
@@ -198,8 +198,8 @@ class CoroWrapper:
def send(self, value):
return self.gen.send(value)
- def throw(self, exc):
- return self.gen.throw(exc)
+ def throw(self, exc_type, exc_value=None, exc_tb=None):
+ return self.gen.throw(exc_type, exc_value, exc_tb)
def close(self):
return self.gen.close()