summaryrefslogtreecommitdiff
path: root/pygments/lexers/python.py
diff options
context:
space:
mode:
Diffstat (limited to 'pygments/lexers/python.py')
-rw-r--r--pygments/lexers/python.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/pygments/lexers/python.py b/pygments/lexers/python.py
index 6cd0a6c8..411f7bc7 100644
--- a/pygments/lexers/python.py
+++ b/pygments/lexers/python.py
@@ -384,6 +384,9 @@ class PythonConsoleLexer(Lexer):
for item in do_insertions(insertions,
pylexer.get_tokens_unprocessed(curcode)):
yield item
+ if curtb:
+ for i, t, v in tblexer.get_tokens_unprocessed(curtb):
+ yield tbindex+i, t, v
class PythonTracebackLexer(RegexLexer):