Hacked By AnonymousFox
�
�܋f� � � � d Z g d�ZddlZddlZddlmZ ddlZ ddlZn# e $ r ddlZY nw xY we
Ze
fZe
Ze
ZeZd� Zd� Zd� Zd� Zdd
�Zd� ZdZd
� Zd� Zd� Zd� Z G d� d� � Zdd�Zej Zej Z!dS )a�
Python 3.X compatibility tools.
While this file was originally intended for Python 2 -> 3 transition,
it is now used to create a compatibility layer between different
minor versions of Python 3.
While the active version of numpy may not support a given version of python, we
allow downstream libraries to continue to use these shims for forward
compatibility with numpy while they transition their code to newer versions of
Python.
)�bytes�asbytes� isfileobj�getexception�strchar�unicode� asunicode�asbytes_nested�asunicode_nested�asstr�open_latin1�long�
basestring�sixu�
integer_types�is_pathlib_path�npy_load_module�Path�pickle�contextlib_nullcontext� os_fspath�os_PathLike� N)r c �t � t | t � � r| � d� � S t | � � S �N�latin1��
isinstancer �decode�str��ss �H/opt/cloudlinux/venv/lib64/python3.11/site-packages/numpy/compat/py3k.pyr r "