summaryrefslogtreecommitdiff
path: root/pygments/lexers/scripting.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2014-10-04 22:35:59 +0200
committerGeorg Brandl <georg@python.org>2014-10-04 22:35:59 +0200
commit902cdc5c54b43d4401535b89636c328df695803e (patch)
treefd3eb8b8826193615ec9955ec2ecc2bf9d55e101 /pygments/lexers/scripting.py
parentef3477c75c03164dbaf2f60202e8dbeaa6c32a9f (diff)
downloadpygments-902cdc5c54b43d4401535b89636c328df695803e.tar.gz
move module names from _XXXbuiltins to _XXX_builtins to be consistent
Diffstat (limited to 'pygments/lexers/scripting.py')
-rw-r--r--pygments/lexers/scripting.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pygments/lexers/scripting.py b/pygments/lexers/scripting.py
index 3b3ca8f3..602877f4 100644
--- a/pygments/lexers/scripting.py
+++ b/pygments/lexers/scripting.py
@@ -35,11 +35,11 @@ class LuaLexer(RegexLexer):
should not be highlighted. By default all modules are highlighted.
To get a list of allowed modules have a look into the
- `_luabuiltins` module:
+ `_lua_builtins` module:
.. sourcecode:: pycon
- >>> from pygments.lexers._luabuiltins import MODULES
+ >>> from pygments.lexers._lua_builtins import MODULES
>>> MODULES.keys()
['string', 'coroutine', 'modules', 'io', 'basic', ...]
"""
@@ -122,7 +122,7 @@ class LuaLexer(RegexLexer):
self._functions = set()
if self.func_name_highlighting:
- from pygments.lexers._luabuiltins import MODULES
+ from pygments.lexers._lua_builtins import MODULES
for mod, func in iteritems(MODULES):
if mod not in self.disabled_modules:
self._functions.update(func)