diff options
| author | Georg Brandl <georg@python.org> | 2020-05-08 09:49:21 +0200 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2020-05-08 09:49:45 +0200 |
| commit | 37781fae3d0bc6bbff2d3266fca6ab93cf233bf4 (patch) | |
| tree | 8c2f67d0e3accba0b6a6267c30275f962d01d564 /pygments/lexers/python.py | |
| parent | 78886ba1b8eda31d3a4092e7bdad2764d0ce00b8 (diff) | |
| download | pygments-git-37781fae3d0bc6bbff2d3266fca6ab93cf233bf4.tar.gz | |
Python 3: remove "cmp" builtin
fixes #1444
Diffstat (limited to 'pygments/lexers/python.py')
| -rw-r--r-- | pygments/lexers/python.py | 2 |
1 files changed, 1 insertions, 1 deletions
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', |
