summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPurpleMyst <purplemyst2017@gmail.com>2017-07-23 19:23:30 +0200
committerPurpleMyst <purplemyst2017@gmail.com>2017-07-23 19:23:30 +0200
commit804580a406c4c26ee6721c6ccbea235f3e41e57f (patch)
treebac72d96a67c04ec4fa41d6fa08fe1bce0940e5a
parent0db8e281af377923115b894703b2b8beb8f1e9d5 (diff)
downloadpygments-804580a406c4c26ee6721c6ccbea235f3e41e57f.tar.gz
Highlight %a in Python3Lexer
-rw-r--r--pygments/lexers/python.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/python.py b/pygments/lexers/python.py
index 390eafe8..435dfe9c 100644
--- a/pygments/lexers/python.py
+++ b/pygments/lexers/python.py
@@ -262,7 +262,7 @@ class Python3Lexer(RegexLexer):
return [
# the old style '%s' % (...) string formatting (still valid in Py3)
(r'%(\(\w+\))?[-#0 +]*([0-9]+|[*])?(\.([0-9]+|[*]))?'
- '[hlL]?[E-GXc-giorsux%]', String.Interpol),
+ '[hlL]?[E-GXc-giorsaux%]', String.Interpol),
# the new style '{}'.format(...) string formatting
(r'\{'
'((\w+)((\.\w+)|(\[[^\]]+\]))*)?' # field name