eric6/ThirdParty/Pygments/pygments/lexers/_lua_builtins.py

changeset 7547
21b0534faebc
parent 6942
2602857055c5
child 7701
25f42e208e08
--- a/eric6/ThirdParty/Pygments/pygments/lexers/_lua_builtins.py	Tue Apr 21 19:44:19 2020 +0200
+++ b/eric6/ThirdParty/Pygments/pygments/lexers/_lua_builtins.py	Tue Apr 21 19:47:10 2020 +0200
@@ -9,12 +9,10 @@
 
     Do not edit the MODULES dict by hand.
 
-    :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
+    :copyright: Copyright 2006-2019 by the Pygments team, see AUTHORS.
     :license: BSD, see LICENSE for details.
 """
 
-from __future__ import print_function
-
 MODULES = {'basic': ('_G',
            '_VERSION',
            'assert',
@@ -288,7 +286,7 @@
             print('>> %s' % full_function_name)
             m = get_function_module(full_function_name)
             modules.setdefault(m, []).append(full_function_name)
-        modules = dict((k, tuple(v)) for k, v in modules.iteritems())
+        modules = {k: tuple(v) for k, v in modules.items()}
 
         regenerate(__file__, modules)
 

eric ide

mercurial