Website : rimsha.abasa.com
backdoor
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
lib
/
python3
/
dist-packages
/
docutils
/
languages
/
__pycache__
/
Filename :
__init__.cpython-310.pyc
back
Copy
o gJ^V � @ sB d Z dZddlZddlmZ ddlmZ G dd� de�Ze� Z dS )zL This package contains modules for language-dependent features of Docutils. �reStructuredText� N)� import_module)�normalize_language_tagc @ s@ e Zd ZdZdZdZdZdd� Zddd �Zd d� Z ddd �Z dS )�LanguageImportera Import language modules. When called with a BCP 47 language tag, instances return a module with localisations from `docutils.languages` or the PYTHONPATH. If there is no matching module, warn (if a `reporter` is passed) and fall back to English. )zdocutils.languages.� zHLanguage "%s" not supported: Docutils-generated text will be in English.�enc C s i | _ d S �N)�cache)�self� r �=/usr/lib/python3/dist-packages/docutils/languages/__init__.py�__init__# s zLanguageImporter.__init__Nc C sv d}| j D ]3}zt|| �}| �|� W |S ttfy8 |r+|r+|�d| � n|r6|�d|| � Y qw |S )z/Try loading module `name` from `self.packages`.Nz+%s is no complete Docutils language module.zModule "%s" not found.)�packagesr � check_content�ImportError�AttributeError�info)r �name�reporter�module�packager r r �import_from_packages&