Commits

gbrandl  committed 67627ac

[svn] Allow Python traceback lexer for doctests.

  • Participants
  • Parent commits 0cc1a93
  • Branches trunk

Comments (0)

Files changed (1)

File pygments/lexers/agile.py

              bygroups(Text, Name.Builtin, Text, Number, Text, Name.Identifier, Text)),
             (r'^(    )(.+)(\n)',
              bygroups(Text, using(PythonLexer), Text)),
+            (r'^(...)(\n)',
+             bygroups(Comment, Text), '#pop'), # for doctests...
             (r'^(.+)(: )(.+)(\n)',
              bygroups(Name.Class, Text, Name.Identifier, Text), '#pop'),
         ],