aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/Pygments/py3/pygments/lexers/python.py
diff options
context:
space:
mode:
authorrobot-contrib <robot-contrib@yandex-team.com>2023-12-09 00:19:25 +0300
committerrobot-contrib <robot-contrib@yandex-team.com>2023-12-09 00:50:41 +0300
commit83b8a2f9228353759e59a093cb3c1270ea2c9d5b (patch)
treea90f4f91780c0613bea19f33ff8af8e93a335e8b /contrib/python/Pygments/py3/pygments/lexers/python.py
parent460528e80f26d04487dc242b7333d45bbeb43a4d (diff)
downloadydb-83b8a2f9228353759e59a093cb3c1270ea2c9d5b.tar.gz
Update contrib/python/Pygments/py3 to 2.17.2
Diffstat (limited to 'contrib/python/Pygments/py3/pygments/lexers/python.py')
-rw-r--r--contrib/python/Pygments/py3/pygments/lexers/python.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/python/Pygments/py3/pygments/lexers/python.py b/contrib/python/Pygments/py3/pygments/lexers/python.py
index 6537d4d9d3..cdb88ab43a 100644
--- a/contrib/python/Pygments/py3/pygments/lexers/python.py
+++ b/contrib/python/Pygments/py3/pygments/lexers/python.py
@@ -35,8 +35,8 @@ class PythonLexer(RegexLexer):
"""
name = 'Python'
- url = 'http://www.python.org'
- aliases = ['python', 'py', 'sage', 'python3', 'py3']
+ url = 'https://www.python.org'
+ aliases = ['python', 'py', 'sage', 'python3', 'py3', 'bazel', 'starlark']
filenames = [
'*.py',
'*.pyw',
@@ -425,7 +425,7 @@ class Python2Lexer(RegexLexer):
"""
name = 'Python 2.x'
- url = 'http://www.python.org'
+ url = 'https://www.python.org'
aliases = ['python2', 'py2']
filenames = [] # now taken over by PythonLexer (3.x)
mimetypes = ['text/x-python2', 'application/x-python2']
@@ -830,7 +830,7 @@ class CythonLexer(RegexLexer):
"""
name = 'Cython'
- url = 'http://cython.org'
+ url = 'https://cython.org'
aliases = ['cython', 'pyx', 'pyrex']
filenames = ['*.pyx', '*.pxd', '*.pxi']
mimetypes = ['text/x-cython', 'application/x-cython']