
    ?wg                     ^    d dl Z d dlZd dlmZ d dlZd Z  e j                   e      e       y)    N)always_iterablec                    t         j                  j                  |       }t        t	        t        |                  }t        j                         }t        |j                  d|      |j                  d|      t        |             y)a  
    Report the newlines in the indicated file.

    >>> tmp_path = getfixture('tmp_path')
    >>> filename = tmp_path / 'out.txt'
    >>> _ = filename.write_text('foo\nbar\n', newline='', encoding='utf-8')
    >>> report_newlines(filename)
    newline is '\n'
    >>> filename = tmp_path / 'out.txt'
    >>> _ = filename.write_text('foo\nbar\r\n', newline='', encoding='utf-8')
    >>> report_newlines(filename)
    newlines are ('\n', '\r\n')
    newlineisN)jaracotextread_newlineslentupler   inflectengineprintplural_nounplural_verbrepr)filenamenewlinescountr   s       c/var/www/horilla/myenv/lib/python3.12/site-packages/setuptools/_vendor/jaraco/text/show-newlines.pyreport_newlinesr   	   sg     {{((2Hoh/01E^^F	9e,4'X    )autocommandr   more_itertoolsr   jaraco.textr   r   __name__ r   r   <module>r      s0      * 0 "    !/ 2r   