File: //lib64/python3.6/__pycache__/string.cpython-36.pyc
3
\. @ s d Z ddddddddd d
ddgZd
dlZdZdZdZee ZdZed d ZdZ dZ
ee e
e ZdddZd
dl
Zd
dlmZ G dd deZG dd dedZG dd dZdS )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_lettersascii_lowercaseascii_uppercasecapwordsdigits hexdigits octdigits printablepunctuation
whitespace FormatterTemplate Nz
ZabcdefghijklmnopqrstuvwxyzZABCDEFGHIJKLMNOPQRSTUVWXYZ
0123456789ZabcdefZABCDEFZ01234567z !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~c C s |pdj dd | j|D 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.
c s s | ]}|j V qd S )N)
capitalize).0x r /usr/lib64/python3.6/string.py <genexpr>0 s zcapwords.<locals>.<genexpr>)joinsplit)ssepr r r r % s )ChainMapc s e Zd ZdZ fddZ ZS )_TemplateMetaclassa/
%(delim)s(?:
(?P<escaped>%(delim)s) | # Escape sequence of two delimiters
(?P<named>%(id)s) | # delimiter and a Python identifier
{(?P<braced>%(id)s)} | # delimiter and a braced identifier
(?P<invalid>) # Other ill-formed delimiter exprs
)
c sX t t| j||| d|kr$| j}ntjtj| j| jd }tj|| j tj
B | _d S )Npattern)Zdelimid)superr __init__r _reescape delimiter idpatterncompileflagsVERBOSE)clsnamebasesZdctr ) __class__r r r A s
z_TemplateMetaclass.__init__)__name__
__module____qualname__r r
__classcell__r r )r* r r 7 s r c @ s>