
    Ef                         d Z ddlZddlZddlmZmZ ddlmZ 	 ddlmZ n# e	$ r  G d dej
                  ZY nw xY weZeZej        d         dk    Zd	 Zd
 ZdS )z
    pyexcel_io._compact
    ~~~~~~~~~~~~~~~~~~~

    Compatibles

    :copyright: (c) 2014-2022 by Onni Software Ltd.
    :license: New BSD License, see LICENSE for more details
    N)BytesIOStringIO)OrderedDict)NullHandlerc                       e Zd Zd ZdS )r   c                     d S )N )selfrecords     U/var/www/ffwdstore.be/apps/py-env/lib/python3.11/site-packages/pyexcel_io/_compact.pyemitzNullHandler.emit   s    D    N)__name__
__module____qualname__r   r	   r   r   r   r      s#        	 	 	 	 	r   r      c                     	 ddl }t          | |j                    }n# t          $ r d}Y nw xY wt          | d          o|S )zcheck if a instance is a streamr   NTread)mmap
isinstanceImportErrorhasattr)instancer   i_am_not_mmap_objs      r   isstreamr      sg    ! *8TY ? ?? ! ! ! ! 8V$$:)::s    ,,c                     | t           k    S )z find out if a type is str or not)str)atypes    r   	is_stringr   *   s    C<r   )__doc__sysloggingior   r   collectionsr   r   r   Handlerr   	text_typerangeirangeversionPY2r   r   r	   r   r   <module>r+      s     


                  # # # # # ########       go      			k!n
; 
; 
;    s   ! <<