diff options
author | Matthäus G. Chajdas <dev@anteru.net> | 2021-03-05 09:25:24 +0100 |
---|---|---|
committer | Matthäus G. Chajdas <dev@anteru.net> | 2021-03-05 09:25:49 +0100 |
commit | 426ad7d768f787e5b91cae9f7ab2d29e0cd5845d (patch) | |
tree | c008dc6a4c715b19bd7b2f91c4bf9a772198f94c | |
parent | 0b1e10937f956d012fd4bc990d072f69e3008629 (diff) | |
download | pygments-git-426ad7d768f787e5b91cae9f7ab2d29e0cd5845d.tar.gz |
Fix #853.
Add bint, Py_ssize_t.
-rw-r--r-- | CHANGES | 1 | ||||
-rw-r--r-- | pygments/lexers/python.py | 4 |
2 files changed, 3 insertions, 2 deletions
@@ -15,6 +15,7 @@ Version 2.9.0 * C/C++: Improve namespace handling (#1722, #1561, #1719) * Coq (#1721) + * Cython (#853) * Julia (#1715) * Octave: Allow multiline and block-percent comments (#1726) * Scala: Rewrite to support Scala3 (#1694, #1035, #1121) diff --git a/pygments/lexers/python.py b/pygments/lexers/python.py index 6164c260..56e96533 100644 --- a/pygments/lexers/python.py +++ b/pygments/lexers/python.py @@ -845,14 +845,14 @@ class CythonLexer(RegexLexer): ], 'builtins': [ (words(( - '__import__', 'abs', 'all', 'any', 'apply', 'basestring', 'bin', + '__import__', 'abs', 'all', 'any', 'apply', 'basestring', 'bin', 'bint', 'bool', 'buffer', 'bytearray', 'bytes', 'callable', 'chr', 'classmethod', 'cmp', 'coerce', 'compile', 'complex', 'delattr', 'dict', 'dir', 'divmod', 'enumerate', 'eval', 'execfile', 'exit', 'file', 'filter', 'float', 'frozenset', 'getattr', 'globals', 'hasattr', 'hash', 'hex', 'id', 'input', 'int', 'intern', 'isinstance', 'issubclass', 'iter', 'len', 'list', 'locals', 'long', 'map', 'max', - 'min', 'next', 'object', 'oct', 'open', 'ord', 'pow', 'property', + 'min', 'next', 'object', 'oct', 'open', 'ord', 'pow', 'property', 'Py_ssize_t', 'range', 'raw_input', 'reduce', 'reload', 'repr', 'reversed', 'round', 'set', 'setattr', 'slice', 'sorted', 'staticmethod', 'str', 'sum', 'super', 'tuple', 'type', 'unichr', 'unicode', 'unsigned', |