OwlCyberSecurity - MANAGER
Edit File: _legacy.cpython-312.opt-2.pyc
� ��h� � �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 )Nz 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 sE � �� �4�y�H���� � �h�/��F�I� ��D�8�#<�=�>�>��� �package�resourcec �d � t j | � t |� z j d� S )N�rb�r �filesr �open�r r s r �open_binaryr s) � �N��M�M�'�"�^�H�%=�=�C�C�D�I�Ir c �b � t j | � t |� z j � S �N)r r r � read_bytesr s r �read_binaryr$ s'