
    ih                    \    U d Z ddlmZ ddlmZ  edddg edd            Zd	ed
<   ddZ	y)zStage 1c: Pure ASCII detection.    )annotations)DetectionResult	   
             bytes_ALLOWED_ASCIIc                R    | sy| j                  dt              ryt        ddd      S )zReturn an ASCII result if all bytes are printable ASCII plus common whitespace.

    :param data: The raw byte data to examine.
    :returns: A :class:`DetectionResult` for ASCII, or ``None``.
    Nasciig      ?)encoding
confidencelanguage)	translater   r   )datas    f/Users/bowang/.openclaw/workspace/ChatDev/.venv/lib/python3.12/site-packages/chardet/pipeline/ascii.pydetect_asciir      s*     ~~dN+GdKK    N)r   r
   returnzDetectionResult | None)
__doc__
__future__r   chardet.pipeliner   r
   ranger   __annotations__r    r   r   <module>r      s8    % " ,
 tT4D%d2CDE E
Lr   