__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
�
�֦i� � �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 �4/usr/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&