관리-도구
편집 파일: string.cpython-311.opt-1.pyc
� c��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� � Ze� � � G d� d� � ZdS )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 � � |pd� t t 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 �-/opt/alt/python311/lib64/python3.11/string.pyr r % s2 � � �J�3���S���������>�>�?�?�?� )�ChainMapc �h � � 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 �< �� t � � � � � d| j v r| j }n=t j | j � � }| j }| j p| j }d|� d|� d|� d|� d� }t j || j t j z � � | _ d S )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&