25 lines
616 B
Diff
25 lines
616 B
Diff
|
|
From b4673e990c4bf745e5f307d3067cae520c07ae0e Mon Sep 17 00:00:00 2001
|
||
|
|
From: wang--ge <wang__ge@126.com>
|
||
|
|
Date: Thu, 6 Apr 2023 16:34:28 +0800
|
||
|
|
Subject: [PATCH] fix syntax error
|
||
|
|
|
||
|
|
---
|
||
|
|
aenum/_py2.py | 2 +-
|
||
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
|
||
|
|
diff --git a/aenum/_py2.py b/aenum/_py2.py
|
||
|
|
index a6e7b29..7206155 100644
|
||
|
|
--- a/aenum/_py2.py
|
||
|
|
+++ b/aenum/_py2.py
|
||
|
|
@@ -2,6 +2,6 @@ from operator import div as _div_
|
||
|
|
from inspect import getargspec
|
||
|
|
|
||
|
|
def raise_with_traceback(exc, tb):
|
||
|
|
- raise exc, None, tb
|
||
|
|
+ raise exc.with_traceback(tb)
|
||
|
|
|
||
|
|
__all__ = ['_div_', 'getargspec', 'raise_with_traceback']
|
||
|
|
--
|
||
|
|
2.33.0
|
||
|
|
|