Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/pygments/__pycache__/plugin.cpython-39.pyc
Ðазад
a a�hc � @ sL d Z ddlmZ dZdZdZdZdd� Zd d � Zdd� Z d d� Z dd� ZdS )a� pygments.plugin ~~~~~~~~~~~~~~~ Pygments plugin interface. lexer plugins:: [pygments.lexers] yourlexer = yourmodule:YourLexer formatter plugins:: [pygments.formatters] yourformatter = yourformatter:YourFormatter /.ext = yourformatter:YourFormatter As you can see, you can define extensions for the formatter with a leading slash. syntax plugins:: [pygments.styles] yourstyle = yourstyle:YourStyle filter plugin:: [pygments.filter] yourfilter = yourfilter:YourFilter :copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. � )�entry_pointszpygments.lexerszpygments.formatterszpygments.styleszpygments.filtersc C s, t � }t|d�r|j| d�S |�| g �S d S )N�select)�group)r �hasattrr �get)� group_name�groups� r �/root/rpmbuild/BUILDROOT/imh-python39-modules-3.9.7-92.el8.x86_64/opt/imh-python/lib/python3.9/site-packages/pygments/plugin.py�iter_entry_points+ s r c c s t t�D ]} | �� V qd S �N)r �LEXER_ENTRY_POINT�load�� entrypointr r r �find_plugin_lexers7 s r c c s"