
    ri&	                        S r SSKrSSKr\R                  S   S:H  r\R                  SS S:H  r\R                  SS S:H  r\R                  SS S:  r\R                  S   S:H  r\R                  SS S:  r	\(       a  \
4r\\4r\r\rS	rO9\4r\(       d  \(       a  \
\4rO\
4r\r\(       d  \(       a  \(       d  \rS
rO\rS	rS r " S S\5      rg)zkA tiny version of `six` to help with backwards compability. Also includes
compatibility helpers for numpy.     N   )r      )r         )r   r      )r      ?z<bc                  z     [         R                  " S5        Sn U (       a  SSKnU$ SnU$ ! [         a    Sn  Nf = f)zN
Returns the numpy module if it exists on the system,
otherwise returns None.
numpyTFr   N)impfind_moduleImportErrorr   )numpy_existsnps     X/home/kim/smarthome/piper_models/venv/lib/python3.13/site-packages/flatbuffers/compat.pyimport_numpyr   2   sK    
  
 	 I I  s   + ::c                       \ rS rSrSrSrg)NumpyRequiredForThisFeatureI   zc
Error raised when user tries to use a feature that
requires numpy without having numpy installed.
 N)__name__
__module____qualname____firstlineno____doc____static_attributes__r       r   r   r   I   s     	r   r   )r   sysr   version_infoPY2PY26PY27PY275PY3PY34strstring_typesbytes	bytearraybinary_typesrange
range_func
memoryviewmemoryview_typestruct_bool_declunicodexrangebufferr   RuntimeErrorr   r   r   r   <module>r4      s  &  
	qQ
!&
!&1*	qQ
!&6L)$LJ O:LtIvJU $.	, 	r   