| Server IP : 162.19.112.25 / Your IP : 216.73.216.88 Web Server : LiteSpeed System : Linux qamar.tasjeel.ae 5.14.0-611.55.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 19 15:19:29 EDT 2026 x86_64 User : archiart ( 1428) PHP Version : 8.2.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /opt/alt/python312/lib64/python3.12/importlib/resources/__pycache__/ |
Upload File : |
�
�9.�Bw� �R � d dl Z d dlZd dlZd dlZd dlZd dlmZmZmZm Z m
Z
mZ ddlm
Z
eej ef ZeZdedefd�Zded ede fd
�Zded edefd�Z dded eded
ede
f
d�Z dded eded
edef
d�Zdedee fd�Zdededefd�Zded edeej6 fd�Zy)� N)�Union�Iterable�ContextManager�BinaryIO�TextIO�Any� )�_common�path�returnc � � t | � }t j j |� \ }}|rt | �d�� �|S )z�Normalize a path by ensuring it is a string.
If the resulting string contains path separators, an exception is raised.
z must be only a file name)�str�osr �split�
ValueError)r �str_path�parent� file_names �B/opt/alt/python312/lib64/python3.12/importlib/resources/_legacy.py�normalize_pathr s@ � �
�4�y�H����
�
�h�/��F�I�
��D�8�#<�=�>�>��� �package�resourcec �b � t j | � t |� z j d� S )zDReturn a file-like object opened for binary reading of the resource.�rb�r
�filesr �open�r r s r �open_binaryr s&