Your IP : 216.73.217.142


Current Path : /snap/core26/current/lib/python3.14/string/__pycache__/
Upload File :
Current File : //snap/core26/current/lib/python3.14/string/__pycache__/__init__.cpython-314.pyc

+
d�jC0����Rt.ROt^RItRtRtRt]],tRt]R,R	,tR
t	Rt
]],]
,],tRRlt/t
!R
R4t]!4t!RR4t!RR4tR#)anA collection of string constants.

Public module variables:

whitespace -- a string containing all ASCII whitespace
ascii_lowercase -- a string containing all ASCII lowercase letters
ascii_uppercase -- a string containing all ASCII uppercase letters
ascii_letters -- a string containing all ASCII letters
digits -- a string containing all ASCII decimal digits
hexdigits -- a string containing all ASCII hexadecimal digits
octdigits -- a string containing all ASCII octal digits
punctuation -- a string containing all ASCII punctuation characters
printable -- a string containing all ASCII characters considered printable

�	Formatter�TemplateNz 	

�abcdefghijklmnopqrstuvwxyz�ABCDEFGHIJKLMNOPQRSTUVWXYZ�
0123456789�abcdef�ABCDEF�01234567z !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~c��T;'gRP\\PVP	V444#)aucapwords(s [,sep]) -> string

Split the argument into words using split, capitalize each
word using capitalize, and join the capitalized words using
join.  If the optional second argument sep is absent or None,
runs of whitespace characters are replaced by a single space
and leading and trailing whitespace are removed, otherwise
sep is used to split and join the words.

� )�join�map�str�
capitalize�split)�s�seps&&�"/lib/python3.14/string/__init__.py�capwordsr%s.��
�J�J�3���S���������>�?�?�c�*a�]tRt^7toRRltRtVtR#)�_TemplatePatternNc�.�VfV#VP4#�N)�_compile_pattern)�self�instance�clss&&&r�__get__�_TemplatePattern.__get__9s���;��K��#�#�%�%r�r)�__name__�
__module__�__qualname__�__firstlineno__r�__static_attributes__�__classdictcell__��
__classdict__s@rrr7s����&�&rrc�aa�]tRt^@toRtRtRtRtRt]	t
V3Rlt]R4t
RtRt]3R	lt]3R
ltRtRtR
tVtV;t#)rz.A string class for supporting $-substitutions.�$z(?a:[_a-z][_a-z0-9]*)Nc�D<�\SV`4VP4R#r)�super�__init_subclass__r)r�	__class__s&�rr-�Template.__init_subclass__Ns���
��!�#����rc	��^RIpVPPR\4pV\JdWVP	VP
4pVPpVP;'g
VPpRVRVRVRVR2	pVPfVPVnVPW PVP,4;q`nV#)�N�patternz
            z(?:
              (?P<escaped>zC)  |   # Escape sequence of two delimiters
              (?P<named>zJ)       |   # delimiter and a Python identifier
              {(?P<braced>z�)} |   # delimiter and a braced identifier
              (?P<invalid>)             # Other ill-formed delimiter exprs
            )
            )
�re�__dict__�getr�escape�	delimiter�	idpattern�braceidpattern�flags�
IGNORECASE�compile�VERBOSEr2)rr3r2�delim�id�bid�pats&      rr�Template._compile_patternRs�����,�,�"�"�9�.>�?���&�&��I�I�c�m�m�,�E����B��$�$�5�5��
�
�C�
�
�G�� �'�"�����5�!
�	�G��9�9���
�
�C�I��J�J�w�	�	�B�J�J�0F�G�G��k��
rc��WnR#r��template)rrEs&&r�__init__�Template.__init__hs�� �
rc��VPR4pVPRVPRR7pV'g^p^pM/V\RP	VRR44,
p\V4p\RWT3,4h)�invalidNT)�keepends�z.Invalid placeholder in string: line %d, col %d���)�startrE�
splitlines�lenr�
ValueError)r�mo�i�lines�colno�linenos&&    r�_invalid�Template._invalidms|���H�H�Y����
�
�b�q�!�,�,�d�,�;����E��F���B�G�G�E�#�2�J�/�0�0�E���Z�F��I� ��)�*�	*rc�aa�S\JdVoMV'd^RIHpV!VS4oVV3RlpSPP	VSP
4#)r1��ChainMapc�6<�VPR4;'gVPR4pVe\SV,4#VPR4e
SP#VPR4eSPV4\	RSP
4h��named�braced�escapedrI�#Unrecognized named group in pattern)�grouprr7rVrPr2�rQr]�mappingrs& ��r�convert�$Template.substitute.<locals>.convert�s�����H�H�W�%�;�;����(�);�E�� ��7�5�>�*�*��x�x�	�"�.��~�~�%��x�x�	�"�.��
�
�b�!��B�!�\�\�+�
+r��_sentinel_dict�collectionsrZr2�subrE�rrc�kwsrZrdsbb,  r�
substitute�Template.substituteysD����n�$��G�
�,��s�G�,�G�
	+��|�|�������7�7rc�aa�S\JdVoMV'd^RIHpV!VS4oVV3RlpSPP	VSP
4#)r1rYc�x<�VPR4;'gVPR4pVe\SV,4#VPR4e
SP#VPR4eVP4#\	RSP
4h \dTP4u#i;ir\)rar�KeyErrorr7rPr2rbs& ��rrd�)Template.safe_substitute.<locals>.convert�s�����H�H�W�%�;�;����(�);�E�� �&��w�u�~�.�.��x�x�	�"�.��~�~�%��x�x�	�"�.��x�x�z�!��B�!�\�\�+�
+��
 �&��8�8�:�%�&�s�B�B9�8B9rfrjsbb,  r�safe_substitute�Template.safe_substitute�sD����n�$��G�
�,��s�G�,�G�	+��|�|�������7�7rc�0�VPPVP4FlpVPR4eR#VPR4eK.VPR4eKCVPR4eKX\	RVP4h	R#)rIFr]r^r_r`T)r2�finditerrErarP)rrQs& r�is_valid�Template.is_valid�s|���,�,�'�'��
�
�6�B��x�x�	�"�.������!�)��H�H�X�&�.��H�H�Y�'�/�!�!F��L�L�"�"�7�rc�x�.pVPPVP4F�pVPR4;'gVPR4pVeW19dVP	V4KJVeKPVPR4eKeVPR4eKz\RVP4h	V#)r]r^rIr_r`)r2rurEra�appendrP)r�idsrQr]s&   r�get_identifiers�Template.get_identifiers�s������,�,�'�'��
�
�6�B��H�H�W�%�;�;����(�);�E�� �U�%5��
�
�5�!��-��H�H�Y�'�/��H�H�Y�'�/�!�!F��L�L�"�"�7��
rrD)r!r"r#r$�__doc__r7r8r9r:rr2r-�classmethodrrFrVrgrlrrrvr{r%r&�
__classcell__)r.r(s@@rrr@si����8��I�
)�I��N��E��G������*!�

*�"0�8�('5�8�,��rc�Za�]tRt^�toRtRtRRltRtRtRt	Rt
RtR	tR
t
VtR#)
rc�&�VPWV4#r)�vformat)r�
format_string�args�kwargss""*,r�format�Formatter.format�s���|�|�M��8�8rc�h�\4pVPWW4^4wrVVPWBV4V#)�)�set�_vformat�check_unused_args)rr�r�r��	used_args�result�_s&&&&   rr��Formatter.vformat�s2���E�	��M�M�-�v�!�L�	�����y��7��
rc
��V^8d\R4h.pVPV4EFwr�r�V'dVPV4V	fK&\P!V	4wr�VR8Xd.VRJd\R4h\V4V	,p	V^,
pM+\
V\4'dV'd\R4hRpVPW�V4wr�VPV4VPW�4pVPW�VWE^,
VR7wr�VPVPW�44EK	RPV4V3#)r1zMax string recursion exceededrKFzJcannot switch from manual field specification to automatic field numberingzJcannot switch from automatic field numbering to manual field specification)�auto_arg_index)rP�parsery�_string�formatter_field_name_splitr�
isinstance�int�	get_field�add�
convert_fieldr��format_fieldr)rr�r�r�r��recursion_depthr�r��literal_text�
field_name�format_spec�
conversion�field_firstr��obj�arg_useds&&&&&&&         rr��Formatter._vformat�sR���Q���<�=�=����
�
�=�)�
>�L�k���
�
�l�+��%�
")�!C�!C�J�!O����"�$�%��.�(�*5�6�6�"%�^�!4�z�!A�J�"�a�'�N���S�1�1�%�(�*9�:�:�
&+�N�!%���z�� H�
���
�
�h�'��(�(��9��/3�m�m��v��q�0�#1�/<�/3�+���
�
�d�/�/��A�B�Y*�\�w�w�v���.�.rc�N�\V\4'd	W!,#W1,#r)r�r�)r�keyr�r�s&&&&r�	get_value�Formatter.get_values���c�3����9���;�rc��R#rr )rr�r�r�s&&&&rr��Formatter.check_unused_argss��rc��\W4#r)r�)r�valuer�s&&&rr��Formatter.format_fields
���e�)�)rc��VfV#VR8Xd\V4#VR8Xd\V4#VR8Xd\V4#\RP	V44h)Nr�r�az"Unknown conversion specifier {0!s})r�repr�asciirPr�)rr�r�s&&&rr��Formatter.convert_fieldsZ�����L�
�3�
��u�:��
�3�
���;��
�3�
���<���=�D�D�Z�P�Q�Qrc�.�\P!V4#r)r��formatter_parser)rr�s&&rr��Formatter.parse/s���'�'�
�6�6rc��\P!V4wrEVPWBV4pVF"wrxV'd\Wh4pKWh,pK$	Wd3#r)r�r�r��getattr)	rr�r�r��first�restr��is_attrrRs	&&&&     rr��Formatter.get_field8sO���8�8��D����n�n�U�&�1���J�G���c�o���f��	��z�rr N)r1)r!r"r#r$r�r�r�r�r�r�r�r�r�r%r&r's@rrr�s9����9��4/�n�
�*�
R�(7�
�
r)�
ascii_letters�ascii_lowercase�ascii_uppercaser�digits�	hexdigits�	octdigits�	printable�punctuation�
whitespacerrr)r}�__all__r�r�r�r�r�r�r�r�r�r�rrgrrrr rr�<module>r�s���� 2����
�.��.���/�1�
�	���X���(�	��	�5���]�"�[�0�:�=�	�
@���&�&�$�%��~�~�Vz�zr