mirror of
https://github.com/FlipsideCrypto/web3.py.git
synced 2026-02-06 10:56:47 +00:00
8 lines
222 B
Python
8 lines
222 B
Python
import sys
|
|
|
|
# raise MyException() from original_exception compatibility
|
|
if sys.version_info.major == 2:
|
|
from .exception_py2 import raise_from # noqa: F401
|
|
else:
|
|
from .exception_py3 import raise_from # noqa: F401
|