summaryrefslogtreecommitdiffstats
path: root/contrib/python/Pygments/py3/pygments/plugin.py
diff options
context:
space:
mode:
authorrobot-piglet <[email protected]>2026-05-22 23:54:15 +0300
committerrobot-piglet <[email protected]>2026-05-23 00:31:16 +0300
commit88de1fde2ead7a8a664f403cf8c6a29cc3f718eb (patch)
treea06fe19732b21ca5bf728b6e091f06a9aa8a59b0 /contrib/python/Pygments/py3/pygments/plugin.py
parenta4934b97e2fbc92ceda3743e051dff0e1d6e2708 (diff)
Intermediate changes
commit_hash:a0d2bdedf870db96a3096f257f9ad580475d6d26
Diffstat (limited to 'contrib/python/Pygments/py3/pygments/plugin.py')
-rw-r--r--contrib/python/Pygments/py3/pygments/plugin.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/python/Pygments/py3/pygments/plugin.py b/contrib/python/Pygments/py3/pygments/plugin.py
index 498db423849..0d6377f769c 100644
--- a/contrib/python/Pygments/py3/pygments/plugin.py
+++ b/contrib/python/Pygments/py3/pygments/plugin.py
@@ -29,9 +29,10 @@
yourfilter = yourfilter:YourFilter
- :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
+ :copyright: Copyright 2006-present by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
+import functools
from importlib.metadata import entry_points
LEXER_ENTRY_POINT = 'pygments.lexers'
@@ -40,6 +41,7 @@ STYLE_ENTRY_POINT = 'pygments.styles'
FILTER_ENTRY_POINT = 'pygments.filters'
def iter_entry_points(group_name):
groups = entry_points()
if hasattr(groups, 'select'):