We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b535860 + 9a613c2 commit f609c0cCopy full SHA for f609c0c
pynvim/util.py
@@ -6,10 +6,10 @@
6
7
def format_exc_skip(skip, limit=None):
8
"""Like traceback.format_exc but allow skipping the first frames."""
9
- type, val, tb = sys.exc_info()
+ etype, val, tb = sys.exc_info()
10
for i in range(skip):
11
tb = tb.tb_next
12
- return ('\n'.join(format_exception(type, val, tb, limit))).rstrip()
+ return (''.join(format_exception(etype, val, tb, limit))).rstrip()
13
14
15
# Taken from SimpleNamespace in python 3
0 commit comments