File: //usr/local/CyberCP/lib/python3.10/site-packages/attr/__pycache__/_compat.cpython-310.pyc
o
�h�
� @ s� d dl Z d dlZd dlZd dlZd dlmZmZ d dlmZ e� � dkZ
ejdd� dkZejdd� dkZ
ejdd� dkZejdd� d kZejdd� d
kZejdd� dkZerdd dlZejZndd
� ZG dd� d�Ze�� Zdd� ZdS )� N)�Mapping�Sequence)�
_GenericAlias�PyPy� )� � )r �
)r � )r � )r �
)r � c C s | j �di �S )z,
Get annotations for *cls*.
�__annotations__)�__dict__�get)�cls� r �?/usr/local/CyberCP/lib/python3.10/site-packages/attr/_compat.py�_get_annotations s r c @ s. e Zd ZdZdgZdd� Zdd� Zdd� Zd S )
�_AnnotationExtractorz^
Extract type annotations from a callable, returning None whenever there
is none.
�sigc C s2 z t �|�| _W d S ttfy d | _Y d S w )N)�inspect� signaturer �
ValueError� TypeError)�self�callabler r r �__init__+ s
�z_AnnotationExtractor.__init__c C s>