https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/sphinx/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/sphinx/__pycache__/extension.cpython-310.pyc
o

�$�a�
�@s�dZddlmZmZmZddlmZmZddlm	Z	ddl
mZddlm
Z
ddlmZer4ddlmZe�e�ZGd	d
�d
�Zddd
e	ddfdd�Zdddeeeffdd�ZdS)z�
    sphinx.extension
    ~~~~~~~~~~~~~~~~

    Utilities for Sphinx extensions.

    :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS.
    :license: BSD, see LICENSE for details.
�)�
TYPE_CHECKING�Any�Dict)�InvalidVersion�Version)�Config)�VersionRequirementError)�__)�logging)�Sphinxc@s&eZdZdedededdfdd�ZdS)�	Extension�name�module�kwargs�returnNcKs@||_||_||_|�dd�|_|�dd�|_|�dd�|_dS)N�version�unknown version�parallel_read_safe�parallel_write_safeT)r
r�metadata�poprrr)�selfr
rr�r�2/usr/lib/python3/dist-packages/sphinx/extension.py�__init__szExtension.__init__)�__name__�
__module__�__qualname__�strrrrrrrrsr�appr�configrNc	Cs�|jdurdS|j��D]M\}}|j�|�}|dur#t�td�|�qd}|jdkr-d}nz
t|�t|j�kr9d}Wnt	yJ||jkrHd}Ynw|sYt
td�|||jf��qdS)z1Verify the required Sphinx extensions are loaded.NzPThe %s extension is required by needs_extensions settings, but it is not loaded.TrFzvThis project needs the extension %s at least in version %s and therefore cannot be built with the loaded version (%s).)�needs_extensions�items�
extensions�get�logger�warningr	rrrr)rr �extname�
reqversion�	extension�	fulfilledrrr�verify_needs_extensions,s6

�
�
��
���r+cCs|jdtdd�dddd�S)Nz
config-initedi )�priority�builtinT)rrr)�connectr+)rrrr�setupJs
�r/)�__doc__�typingrrr�packaging.versionrr�
sphinx.configr�
sphinx.errorsr�
sphinx.localer	�sphinx.utilr
�sphinx.applicationr�	getLoggerrr%rr+rr/rrrr�<module>s



https://t.me/RX1948 - 2025