From 37781fae3d0bc6bbff2d3266fca6ab93cf233bf4 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Fri, 8 May 2020 09:49:21 +0200 Subject: Python 3: remove "cmp" builtin fixes #1444 --- pygments/lexers/python.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pygments') diff --git a/pygments/lexers/python.py b/pygments/lexers/python.py index eef20884..334a6b34 100644 --- a/pygments/lexers/python.py +++ b/pygments/lexers/python.py @@ -207,7 +207,7 @@ class PythonLexer(RegexLexer): 'builtins': [ (words(( '__import__', 'abs', 'all', 'any', 'bin', 'bool', 'bytearray', - 'bytes', 'chr', 'classmethod', 'cmp', 'compile', 'complex', + 'bytes', 'chr', 'classmethod', 'compile', 'complex', 'delattr', 'dict', 'dir', 'divmod', 'enumerate', 'eval', 'filter', 'float', 'format', 'frozenset', 'getattr', 'globals', 'hasattr', 'hash', 'hex', 'id', 'input', 'int', 'isinstance', 'issubclass', -- cgit v1.2.1