a
    Sic×	  ã                   @   sü   d Z ddlZejd dkZejdd… dkZejdd… dkZejdd… dkZejd dkZejdd… dkZer˜ddl	Z
efZeefZeZeZd	ZnHddlZefZes®er¸eefZnefZeZesÎerØesØeZd
ZneZd	Zdd„ ZG dd„ deƒZdS )zm A tiny version of `six` to help with backwards compability. Also includes
 compatibility helpers for numpy. é    Né   )r   é   )r   é   é   )r   r   é   )r   é   Ú?z<bc                  C   sX   t rtjj d¡du} n*zt d¡ d} W n ty@   d} Y n0 | rPddl}nd}|S )zZ
    Returns the numpy module if it exists on the system,
    otherwise returns None.
    ÚnumpyNTFr   )	ÚPY3Ú	importlibÚ	machineryÚ
PathFinderÚ	find_specÚimpÚfind_moduleÚImportErrorr	   )Znumpy_existsÚnp© r   úN/var/www/html/django/DPS/env/lib/python3.9/site-packages/flatbuffers/compat.pyÚimport_numpy3   s    ÿ


r   c                   @   s   e Zd ZdZdS )ÚNumpyRequiredForThisFeaturezo
    Error raised when user tries to use a feature that
    requires numpy without having numpy installed.
    N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   r   r   r   N   s   r   )r   ÚsysÚversion_infoÚPY2ZPY26ZPY27ZPY275r
   ÚPY34Úimportlib.machineryr   ÚstrÚstring_typesÚbytesÚ	bytearrayÚbinary_typesÚrangeÚ
range_funcÚ
memoryviewÚmemoryview_typeÚstruct_bool_declr   ÚunicodeÚxrangeÚbufferr   ÚRuntimeErrorr   r   r   r   r   Ú<module>   s6   
