%PDF- %PDF-
Direktori : /usr/lib/python3.12/__pycache__/ |
Current File : //usr/lib/python3.12/__pycache__/string.cpython-312.pyc |
� ���f . � �� � d Z g d�ZddlZdZdZdZeez ZdZedz d z Zd Z dZ eez e z ez Zdd�Zddl Zdd lmZ i Z G d� d� Zej) � G d� d� Zy)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 )� ascii_letters�ascii_lowercase�ascii_uppercase�capwords�digits� hexdigits� octdigits� printable�punctuation� whitespace� Formatter�Template� Nz �abcdefghijklmnopqrstuvwxyz�ABCDEFGHIJKLMNOPQRSTUVWXYZ� 0123456789�abcdef�ABCDEF�01234567z !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~c �z � |xs dj t t j | j |� � � S )a� 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 �/usr/lib/python3.12/string.pyr r % s, � � �J�3���S���������>�?�?� )�ChainMapc �r � � e Zd ZdZdZdZdZej Z � fd�Z d� Zd� Ze fd�Ze fd �Zd � Zd� Z� xZS )r z.A string class for supporting $-substitutions.�$z(?a:[_a-z][_a-z0-9]*)Nc �l �� t �| � � d| j v r | j }nTt j | j � }| j }| j xs | j }d|� d|� d|� d|� d� }t j || j t j z � | _ y )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 ) )�super�__init_subclass__�__dict__r$ �_re�escape� delimiter� idpattern�braceidpattern�compile�flags�VERBOSE)�clsr$ �delim�id�bid� __class__s �r r&