| Server IP : 43.141.49.92 / Your IP : 113.219.202.44 Web Server : Apache System : Linux VM-8-5-opencloudos 6.6.34-9.oc9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jun 19 19:35:45 CST 2024 x86_64 User : www ( 1000) PHP Version : 8.1.27 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib64/python3.11/importlib/resources/__pycache__/ |
Upload File : |
�
��e� � � � d dl mZ d dlmZ ddlmZ G d� d� � Z G d� d� � Zdd
�Z G d� d� � Z d
� Z
dS )� )�suppress)�
TextIOWrapper� )�abcc �$ � e Zd ZdZd� fd�Zd� ZdS )�SpecLoaderAdapterz>
Adapt a package spec to adapt the underlying loader.
c � � | j S �N)�loader��specs �6/usr/lib64/python3.11/importlib/resources/_adapters.py�<lambda>zSpecLoaderAdapter.<lambda> s � �$�+� � c �4 � || _ ||� � | _ d S r
)r
r )�selfr
�adapters r �__init__zSpecLoaderAdapter.__init__ s � ��� ��g�d�m�m����r c �, � t | j |� � S r
)�getattrr
�r �names r �__getattr__zSpecLoaderAdapter.__getattr__ s � ��t�y�$�'�'�'r N)�__name__�
__module__�__qualname__�__doc__r r � r r r r sI � � � � � �� � &>�%=� $� $� $� $�(� (� (� (� (r r c � � e Zd ZdZd� Zd� ZdS )�TraversableResourcesLoaderz9
Adapt a loader to provide TraversableResources.
c � � || _ d S r
r �r r
s r r z#TraversableResourcesLoader.__init__ �
� ��� � � r c �N � t | j � � � � � S r
)�CompatibilityFilesr
�_nativer s r �get_resource_readerz.TraversableResourcesLoader.get_resource_reader s � �!�$�)�,�,�4�4�6�6�6r N)r r r r r r'