Your IP : 18.188.211.246
�
��bg�x � �
� d Z dZddlZddlmc mZ ddlm Z m
Z
dd�Zd� Zd� Z
d� Zdd
�Z G d� d� � Z G d
� d� � Zd� Z G d� de� � Z G d� de� � Z G d� de� � Z G d� d� � Zdd�ZdS )zBA collection of functions designed to help I/O with ascii files.
zrestructuredtext en� N)�asbytes� asunicodec �d � t | � � t u r|�d}| � |� � } | S )ak Decode bytes from binary input streams.
Defaults to decoding from 'latin1'. That differs from the behavior of
np.compat.asunicode that decodes from 'ascii'.
Parameters
----------
line : str or bytes
Line to be decoded.
encoding : str
Encoding used to decode `line`.
Returns
-------
decoded_line : str
N�latin1)�type�bytes�decode)�line�encodings �I/opt/cloudlinux/venv/lib64/python3.11/site-packages/numpy/lib/_iotools.py�_decode_liner
s6 � �$ �D�z�z�U������H��{�{�8�$�$���K� c �D � | dz n# t t f$ r Y dS w xY wdS )z2
Check whether obj behaves like a string.
� FT�� TypeError�
ValueError��objs r �_is_string_liker % s>