| Server IP : 121.121.20.254 / Your IP : 216.73.217.51 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Python315/Lib/string/__pycache__/ |
Upload File : |
R
>lqj�2 c �� � Q s , QNs] PHsQsQsQs\\* sQs\Q* Q* sQ s Q
s
\\* \
* \* sQQ ks- s
Q Q
2 s\ 2 s Q Q2 s Q Q2 sP! )an A 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�Templatez
�abcdefghijklmnopqrstuvwxyz�ABCDEFGHIJKLMNOPQRSTUVWXYZ�
0123456789�abcdef�ABCDEF�01234567z !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~c � � S9% f QO [ [ O U O U2 2 2 ! )au capwords(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 &&�$C:\Python315\\Lib\string\__init__.py�capwordsr % s. � �
�J�J�3���S���������>�?�?� c �, ` � \ sQ s]7s n QQ ksQsU sP! )�_TemplatePatternc �0 � Ue U ! UO 2 ! �N)�_compile_pattern)�self�instance�clss &&&r �__get__�_TemplatePattern.__get__9 s � ��;��K��#�#�%�%r � r )�__name__�
__module__�__qualname__�__firstlineno__r �__static_attributes__�__classdictcell__��
__classdict__s @r r r 7 s �� � �&� &r r c � ` `� \ sQ s]@s nQsQsQsPsPs\ s
U 1Q ks\Q 2 s
Q sQ s\1Q ks\1Q ksQ
sQ sQsUsU 9s! )
r z.A string class for supporting $-substitutions.�$z(?a:[_a-z][_a-z0-9]*)c �F :� [ RU _ 2 U O 2 P! r )�super�__init_subclass__r )r � __class__s &�r r, �Template.__init_subclass__N s �� �
��!�#����r c �� � ] PHoU O O Q[ 2 o[ V!O
2 % c U! U[ I cW UO
U O 2 oU O oU O 9% f
U O oQU QU QU QU Q0 oU O e UO U m
UO V O UO * 2 9p`m U! )� �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 �
isinstance�Pattern�escape� delimiter� idpattern�braceidpattern�flags�
IGNORECASE�compile�VERBOSEr1 )r r2 r1 �delim�id�bid�pats & r r �Template._compile_patternR s� � �� �,�,�"�"�9�.>�?���g�z�z�*�*��N��&�&��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��
r c � � Vm P! r ��template)r rF s &&r �__init__�Template.__init__o s � � �
r c � � UO Q 2 oU O PU O P Q5 oU% f ]o]oL/U[ PO UPP 2 2 *
o[ U2 o[ QVT1* 2 g)�invalid)�keependsz.Invalid placeholder in string: line %d, col %d)�startrF �
splitlines�lenr �
ValueError)r �mo�i�lines�colno�linenos && r �_invalid�Template._invalidt s| � ��H�H�Y����
�
�b�q�!�,�,�d�,�;����E��F���B�G�G�E�#�2�J�/�0�0�E���Z�F��I� ��)� *� *r c � ` `� R[ I c UnLU% c ] QHGo U UR2 nUU 1Q koR O O UR O
2 ! )r0 ��ChainMapc �8 :� U O Q 2 9% f U O Q2 oUd [ RU* 2 ! U O Q2 d
RO ! U O Q2 d RO U 2 [ QRO
2 g��named�braced�escapedrJ �#Unrecognized named group in pattern)�groupr
r8 rU rO r1 �rP r\ �mappingr s & ��r �convert�$Template.substitute.<locals>.convert� s� �� ��H�H�W�%�;�;����(�);�E�� ��7�5�>�*�*��x�x� �"�.��~�~�%��x�x� �"�.��
�
�b�!��B�!�\�\�+�
+r ��_sentinel_dict�collectionsrY r1 �subrF �r rb �kwsrY rc s bb, r �
substitute�Template.substitute� sD �� ��n�$��G�
�,��s�G�,�G�
+� �|�|�������7�7r c � ` `� R[ I c UnLU% c ] QHGo U UR2 nUU 1Q koR O O UR O
2 ! )r0 rX c �z :� U O Q 2 9% f U O Q2 oUd [ RU* 2 ! U O Q2 d
RO ! U O Q2 d U O 2 ! [ QRO
2 g [ c S O 2 t ! h 9 hr[ )r` r
�KeyErrorr8 rO r1 ra s & ��r rc �)Template.safe_substitute.<locals>.convert� s� �� ��H�H�W�%�;�;����(�);�E�� �&��w�u�~�.�.� �x�x� �"�.��~�~�%��x�x� �"�.��x�x�z�!��B�!�\�\�+�
+��
� &��8�8�:�%�&�s �B � B:�&B:�9B:re ri s bb, r �safe_substitute�Template.safe_substitute� sD �� ��n�$��G�
�,��s�G�,�G� +� �|�|�������7�7r c �6 � U O O U O 2 F Dm oUO Q 2 d P
! UO Q2 d J/ UO Q2 d JD UO Q2 d JY [ QU O 2 g P ! )rJ r\ r] r^ r_ )r1 �finditerrF r` rO )r rP s & r �is_valid�Template.is_valid� s| � ��,�,�'�'��
�
�6�B��x�x� �"�.������!�)��H�H�X�&�.��H�H�Y�'�/� !�!F��L�L�"� "� 7� r c �| � , oU O O U O 2 F D� oUO Q 2 9% f UO Q2 oUd V17 c UO U2 JJ Ud JP UO Q2 d Je UO Q2 d Jz [ QU O 2 g U! )r\ r] rJ r^ r_ )r1 rt rF r` �appendrO )r �idsrP r\ 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� �
r rE )r r! r"