Файловый менеджер - Редактировать - /home/digitalm/venv/lib/python3.7/site-packages/numpy/compat/__pycache__/py3k.cpython-37.pyc
Назад
B �5�gC � @ s* d Z ddddddddd d ddd dddddddddgZddlZddlZddlmZ ddlZddlZddlmZ yddl ZW n ek r� ddlZY nX e Ze fZeZeZeZdd� Zdd� Zdd � Zdd� Zd)d d�Zd!d� Zd"Zd#d� Zd$d� Zd%d � Zd&d� ZG d'd� d�Zd*d(d�Z ej!Z"ej#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 )�ABCc C s t | t�r| �d�S t| �S )N�latin1)� isinstancer �decode�str)�s� r �G/home/digitalm-up/venv/lib/python3.7/site-packages/numpy/compat/py3k.pyr &