
    mbiE	                        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n$d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 Z G d de          ZdS )zlA tiny version of `six` to help with backwards compability.

Also includes compatibility helpers for numpy.
    N   )r      )r         )r   r      )r      ?z<bc                      t           r't          j        j                            d          du} n*	 t          j        d           d} n# t          $ r d} Y nw xY w| rddl}nd}|S )zRReturns the numpy module if it exists on the system,

  otherwise returns None.
  numpyNTFr   )	PY3	importlib	machinery
PathFinder	find_specimpfind_moduleImportErrorr   )numpy_existsnps     b/var/www/html/mdtn/previsions/meteo_cartes/venv/lib/python3.11/site-packages/flatbuffers/compat.pyimport_numpyr   8   s    
 	 &1;;GDDDPLL	ogll   lll  
 	B	)s   A AAc                       e Zd ZdZdS )NumpyRequiredForThisFeaturezgError raised when user tries to use a feature that

  requires numpy without having numpy installed.
  N)__name__
__module____qualname____doc__     r   r   r   R   s         
 $r   r   )r   sysversion_infoPY2PY26PY27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   <module>r6      sw   
 


	qQ
!&
!&1*	qQ
!& ,#,*/***,	 T #LL6L*	 d 5 O O
  4    ,     r   