debugpy/ptvsd/reraise3.py
2018-01-10 20:01:05 +00:00

11 lines
337 B
Python

# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See LICENSE in the project root
# for license information.
__author__ = "Microsoft Corporation <ptvshelp@microsoft.com>"
__version__ = "4.0.0a1"
def reraise(exc_info):
# TODO: docstring
raise exc_info[1].with_traceback(exc_info[2])