summaryrefslogtreecommitdiff
path: root/pygments/lexers/_asybuiltins.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2014-09-19 22:15:24 +0200
committerGeorg Brandl <georg@python.org>2014-09-19 22:15:24 +0200
commitc45439c1ef32348ed9476c441d81adbb84e71ec4 (patch)
tree0c19e4002fc63614266000fe917553c0a94d4faf /pygments/lexers/_asybuiltins.py
parent6688456dd0d2e4e877eaf17fa604df3a9aca689a (diff)
downloadpygments-c45439c1ef32348ed9476c441d81adbb84e71ec4.tar.gz
Make all keyword lists in special modules into tuples.
Tuples of strings are stored as prebuild constants in the .pyc file instead of having to build a list element by element at runtime.
Diffstat (limited to 'pygments/lexers/_asybuiltins.py')
-rw-r--r--pygments/lexers/_asybuiltins.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/pygments/lexers/_asybuiltins.py b/pygments/lexers/_asybuiltins.py
index 5472cb63..b1c65890 100644
--- a/pygments/lexers/_asybuiltins.py
+++ b/pygments/lexers/_asybuiltins.py
@@ -14,7 +14,7 @@
:license: BSD, see LICENSE for details.
"""
-ASYFUNCNAME = set([
+ASYFUNCNAME = set((
'AND',
'Arc',
'ArcArrow',
@@ -1038,9 +1038,9 @@ ASYFUNCNAME = set([
'ztick',
'ztick3',
'ztrans'
-])
+))
-ASYVARNAME = set([
+ASYVARNAME = set((
'AliceBlue',
'Align',
'Allow',
@@ -1642,4 +1642,4 @@ ASYVARNAME = set([
'ylabelwidth',
'zerotickfuzz',
'zerowinding'
-])
+))