diff options
-rw-r--r-- | CHANGES | 9 | ||||
-rw-r--r-- | pygments/lexers/python.py | 1 |
2 files changed, 10 insertions, 0 deletions
@@ -7,6 +7,15 @@ pull request numbers to the requests at <http://bitbucket.org/birkenfeld/pygments-main/pull-requests/merged>. +Version 2.0.2 +------------- +(released Jan 20, 2014) + +- Fix Python tracebacks getting duplicated in the console lexer (#1068). + +- Backquote-delimited identifiers are now recognized in F# (#1062). + + Version 2.0.1 ------------- (released Nov 10, 2014) diff --git a/pygments/lexers/python.py b/pygments/lexers/python.py index 259d1a9c..01ab1e7d 100644 --- a/pygments/lexers/python.py +++ b/pygments/lexers/python.py @@ -378,6 +378,7 @@ class PythonConsoleLexer(Lexer): tb = 0 for i, t, v in tblexer.get_tokens_unprocessed(curtb): yield tbindex+i, t, v + curtb = '' else: yield match.start(), Generic.Output, line if curcode: |