aboutsummaryrefslogtreecommitdiffstats
path: root/venv/Lib/site-packages/aenum/_py3.py
diff options
context:
space:
mode:
Diffstat (limited to 'venv/Lib/site-packages/aenum/_py3.py')
-rw-r--r--venv/Lib/site-packages/aenum/_py3.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/venv/Lib/site-packages/aenum/_py3.py b/venv/Lib/site-packages/aenum/_py3.py
new file mode 100644
index 00000000..2edeefdf
--- /dev/null
+++ b/venv/Lib/site-packages/aenum/_py3.py
@@ -0,0 +1,12 @@
+from inspect import getfullargspec as _getfullargspec
+
+def getargspec(method):
+ args, varargs, keywords, defaults, _, _, _ = _getfullargspec(method)
+ return args, varargs, keywords, defaults
+
+def raise_with_traceback(exc, tb):
+ raise exc.with_traceback(tb)
+
+def raise_from_none(exc):
+ raise exc from None
+