aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/Pygments/py3/pygments/lexers/theorem.py
diff options
context:
space:
mode:
authorarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-06-09 14:39:19 +0300
committerarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-06-09 14:39:19 +0300
commitc04b663c7bb4b750deeb8f48f620497ec13da8fa (patch)
tree151ebc8bfdd2ad918caf5e6e2d8013e14272ddf8 /contrib/python/Pygments/py3/pygments/lexers/theorem.py
parent0d55ca22c507d18c2f35718687e0b06d9915397b (diff)
downloadydb-c04b663c7bb4b750deeb8f48f620497ec13da8fa.tar.gz
intermediate changes
ref:2d4f292087954c9344efdabb7b2a67f466263c65
Diffstat (limited to 'contrib/python/Pygments/py3/pygments/lexers/theorem.py')
-rw-r--r--contrib/python/Pygments/py3/pygments/lexers/theorem.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/contrib/python/Pygments/py3/pygments/lexers/theorem.py b/contrib/python/Pygments/py3/pygments/lexers/theorem.py
index a7f4330a54..e4ed753904 100644
--- a/contrib/python/Pygments/py3/pygments/lexers/theorem.py
+++ b/contrib/python/Pygments/py3/pygments/lexers/theorem.py
@@ -4,7 +4,7 @@
Lexers for theorem-proving languages.
- :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS.
+ :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
@@ -19,17 +19,18 @@ __all__ = ['CoqLexer', 'IsabelleLexer', 'LeanLexer']
class CoqLexer(RegexLexer):
"""
- For the `Coq <http://coq.inria.fr/>`_ theorem prover.
+ For the Coq theorem prover.
.. versionadded:: 1.5
"""
name = 'Coq'
+ url = 'http://coq.inria.fr/'
aliases = ['coq']
filenames = ['*.v']
mimetypes = ['text/x-coq']
- flags = re.UNICODE
+ flags = 0 # no re.MULTILINE
keywords1 = (
# Vernacular commands
@@ -165,12 +166,13 @@ class CoqLexer(RegexLexer):
class IsabelleLexer(RegexLexer):
"""
- For the `Isabelle <http://isabelle.in.tum.de/>`_ proof assistant.
+ For the Isabelle proof assistant.
.. versionadded:: 2.0
"""
name = 'Isabelle'
+ url = 'http://isabelle.in.tum.de/'
aliases = ['isabelle']
filenames = ['*.thy']
mimetypes = ['text/x-isabelle']
@@ -381,18 +383,16 @@ class IsabelleLexer(RegexLexer):
class LeanLexer(RegexLexer):
"""
- For the `Lean <https://github.com/leanprover/lean>`_
- theorem prover.
+ For the Lean theorem prover.
.. versionadded:: 2.0
"""
name = 'Lean'
+ url = 'https://github.com/leanprover/lean'
aliases = ['lean']
filenames = ['*.lean']
mimetypes = ['text/x-lean']
- flags = re.MULTILINE | re.UNICODE
-
tokens = {
'root': [
(r'\s+', Text),