?????????? ????????? - ??????????????? - /usr/lib64/python3.9/site-packages/numpy/core/__pycache__/_exceptions.cpython-39.pyc
???????
a z[yc� � @ s� d Z ddlmZ dd� Zdd� ZG dd� de�ZeG d d � d e��ZeG dd� de��ZeG d d� de��Z eG dd� de ��Z eG dd� de ��Zed�G dd� de��Z ed�G dd� dee��ZeG dd� de��ZdS )z� Various richly-typed exceptions, that also help us deal with string formatting in python where it's easier. By putting the formatting in `__str__`, we also avoid paying the cost for users who silence the exceptions. � )� set_modulec C s t | �dkr| d S | S d S )N� r )�len)�tup� r �</usr/lib64/python3.9/site-packages/numpy/core/_exceptions.py� _unpack_tuple s r c C s t | t�sJ �| jj| _| S )aG A decorator that makes an exception class look like its base. We use this to hide subclasses that are implementation details - the user should catch the base type, which is what the traceback will show them. Classes decorated with this decorator are subject to removal without a deprecation warning. )� issubclass� Exception�__base__�__name__)�clsr r r �_display_as_base s r c @ s e Zd ZdZdd� ZdS )�UFuncTypeErrorz% Base class for all ufunc exceptions c C s || _ d S �N)�ufunc)�selfr r r r �__init__"