opt
/
cloudlinux
/
venv
/
lib
/
python3.11
/
site-packages
/
setuptools
/
_vendor
/
jaraco
/
text
/
__pycache__
➕ New
📤 Upload
✎ Editing:
show-newlines.cpython-311.pyc
← Back
� �� h� � �b � d dl Z d dlZd dlmZ d dlZd� Z e j e� � e� � dS )� N)�always_iterablec �H � t j � | � � }t t t |� � � � � � }t j � � }t |� d|� � |� d|� � t |� � � � dS )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 �}/builddir/build/BUILD/cloudlinux-venv-1.0.8/venv/lib/python3.11/site-packages/setuptools/_vendor/jaraco/text/show-newlines.py�report_newlinesr s� � � �{�(�(��2�2�H���o�h�/�/�0�0�1�1�E� �^� � �F� ����9�e�,�,����4��'�'��X���� � � � � )�autocommandr �more_itertoolsr �jaraco.textr r �__name__� r r �<module>r sm �� � � � � ���� *� *� *� *� *� *� � � � �� � �0 "� �� �� !� !�/� 2� 2� 2� 2� 2r
💾 Save Changes
Cancel
📤 Upload File
×
Select File
Upload
Cancel
➕ Create New
×
Type
📄 File
📁 Folder
Name
Create
Cancel
✎ Rename Item
×
Current Name
New Name
Rename
Cancel
🔐 Change Permissions
×
Target File
Permission (e.g., 0755, 0644)
0755
0644
0777
Apply
Cancel