Файловый менеджер - Редактировать - /usr/lib/python3/dist-packages/pip/_vendor/pygments/__pycache__/plugin.cpython-310.pyc
Ðазад
o !��h� � @ s@ d Z dZdZdZdZdd� Zdd� Zd d � Zdd� Zd d� Z dS )a0 pygments.plugin ~~~~~~~~~~~~~~~ Pygments setuptools plugin interface. The methods defined here also work if setuptools isn't installed but they just return nothing. 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-2021 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. zpygments.lexerszpygments.formatterszpygments.styleszpygments.filtersc C s6 zddl m} W n ttfy g Y S w |�| �S )N� )� pkg_resources)�pip._vendorr �ImportError�OSError�iter_entry_points)� group_namer � r �=/usr/lib/python3/dist-packages/pip/_vendor/pygments/plugin.pyr + s � r c c s � t t�D ]} | �� V qd S �N)r �LEXER_ENTRY_POINT�load�� entrypointr r r �find_plugin_lexers4 s ��r c c �$ � t t�D ] } | j| �� fV qd S r )r �FORMATTER_ENTRY_POINT�namer r r r r �find_plugin_formatters9 � ��r c c r r )r �STYLE_ENTRY_POINTr r r r r r �find_plugin_styles>