mirror of
https://github.com/Farama-Foundation/Gymnasium.git
synced 2025-08-23 23:12:46 +00:00
5 lines
219 B
Python
5 lines
219 B
Python
# http://stackoverflow.com/a/33822606 -- `from None` disables Python 3'
|
|
# semi-smart exception chaining, which we don't want in this case.
|
|
def reraise_impl(e, traceback):
|
|
raise e.with_traceback(traceback) from None
|