summaryrefslogtreecommitdiff
path: root/pygments/lexers/_sourcemodbuiltins.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/_sourcemodbuiltins.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/_sourcemodbuiltins.py')
-rw-r--r--pygments/lexers/_sourcemodbuiltins.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pygments/lexers/_sourcemodbuiltins.py b/pygments/lexers/_sourcemodbuiltins.py
index eee84d0b..2e68c506 100644
--- a/pygments/lexers/_sourcemodbuiltins.py
+++ b/pygments/lexers/_sourcemodbuiltins.py
@@ -14,7 +14,7 @@
from __future__ import print_function
-FUNCTIONS = ['TopMenuHandler',
+FUNCTIONS = ('TopMenuHandler',
'CreateTopMenu',
'LoadTopMenuConfig',
'AddToTopMenu',
@@ -1008,7 +1008,7 @@ FUNCTIONS = ['TopMenuHandler',
'PrepSDKCall_SetReturnInfo',
'PrepSDKCall_AddParameter',
'EndPrepSDKCall',
- 'SDKCall']
+ 'SDKCall')
if __name__ == '__main__':
import pprint