We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a71dade commit df5b60eCopy full SHA for df5b60e
1 file changed
python/tskit/jit/numba.py
@@ -22,7 +22,11 @@ def jitdataclass(cls):
22
except AttributeError:
23
# __replace__ is not available in Python < 3.10
24
pass
25
- del dc_cls.__match_args__
+ try:
26
+ del dc_cls.__match_args__
27
+ except AttributeError:
28
+ # __match_args__ is not available in Python < 3.10
29
+ pass
30
return numba.experimental.jitclass(dc_cls)
31
32
0 commit comments