
    ?wgV                         d dl mZmZ d Zy)    )BytesIOStringIOc                 v    t        | t              rt        | d      S t        | t              rt	        |       S | S )zj
    Accept either a str/bytes stream or a file-like object and always return a
    file-like object.
     )newline)
isinstancestrr   bytesr   )streams    C/var/www/horilla/myenv/lib/python3.12/site-packages/tablib/utils.pynormalize_inputr      s4    
 &#++	FE	"vM    N)ior   r   r    r   r   <module>r      s     	r   