�
��^i� � � � d dl mZ d dlZd dlZd dlZej d dk ZereefZ dZ
n9eZ ej j Z
n)# e
$ r! ej ej d � � � � Z
Y nw xY w G d� d edd� � � � Z G d� de� � ZdS ) � )�
namedtupleN� c �" � � e Zd ZdZ� fd�Z� xZS )�ExtTypez'ExtType represents ext type in msgpack.c �$ �� t |t � � st d� � �t |t � � st d� � �d|cxk rdk sn t d� � �t t | � � � | ||� � S )Nzcode must be intzdata must be bytesr � zcode must be 0~127)�
isinstance�int� TypeError�bytes�
ValueError�superr �__new__)�cls�code�data� __class__s ���/builddir/build/BUILDROOT/alt-python311-pip-21.3.1-4.el8.x86_64/opt/alt/python311/lib/python3.11/site-packages/pip/_vendor/msgpack/ext.pyr zExtType.__new__ s� �� ��$��$�$� 0��.�/�/�/��$��&�&� 2��0�1�1�1��D�����C������1�2�2�2��W�c�"�"�*�*�3��d�;�;�;� )�__name__�
__module__�__qualname__�__doc__r �
__classcell__)r s @r r r s> �� � � � � �1�1�<� <� <� <� <� <� <� <�