aboutsummaryrefslogtreecommitdiffstats
path: root/python/gevent/_util_py2.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/gevent/_util_py2.py')
-rw-r--r--python/gevent/_util_py2.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/python/gevent/_util_py2.py b/python/gevent/_util_py2.py
new file mode 100644
index 0000000..dc74eec
--- /dev/null
+++ b/python/gevent/_util_py2.py
@@ -0,0 +1,7 @@
+# this produces syntax error on Python3
+
+__all__ = ['reraise']
+
+
+def reraise(type, value, tb):
+ raise type, value, tb