diff options
author | Claudiu Popa <pcmanticore@gmail.com> | 2018-05-27 14:45:30 +0800 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2018-05-31 12:56:28 +0800 |
commit | 8374023e3ae0ad4c9ceffb8b5c29aa1fde20433f (patch) | |
tree | 3e1bd54f29edc7b34bc59b2caab0fa46a153f64e /astroid/util.py | |
parent | 329deed20f8f8d65288ff7ae01b12e69c66f08c7 (diff) | |
download | astroid-git-8374023e3ae0ad4c9ceffb8b5c29aa1fde20433f.tar.gz |
Remove reraise() in favour of using raise..from
Diffstat (limited to 'astroid/util.py')
-rw-r--r-- | astroid/util.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/astroid/util.py b/astroid/util.py index 01dcd50c..c54bd746 100644 --- a/astroid/util.py +++ b/astroid/util.py @@ -24,13 +24,6 @@ def lazy_import(module_name): lambda: importlib.import_module('.' + module_name, 'astroid')) -def reraise(exception): - '''Reraises an exception with the traceback from the current exception - block.''' - - six.reraise(type(exception), exception, sys.exc_info()[2]) - - @object.__new__ class Uninferable(object): """Special inference object, which is returned when inference fails.""" |