标签:
官方https://docs.python.org/3.4/library/string.html#string.Formatter
Source code: Lib/string.py
The constants defined in this module are:
The concatenation of the ascii_lowercase and ascii_uppercase constants described below. This value is not locale-dependent.
The lowercase letters ‘abcdefghijklmnopqrstuvwxyz‘. This value is not locale-dependent and will not change.
The uppercase letters ‘ABCDEFGHIJKLMNOPQRSTUVWXYZ‘. This value is not locale-dependent and will not change.
The string ‘0123456789‘.
The string ‘0123456789abcdefABCDEF‘.
The string ‘01234567‘.
String of ASCII characters which are considered punctuation characters in the C locale.
String of ASCII characters which are considered printable. This is a combination of digits, ascii_letters, punctuation, and whitespace.
A string containing all ASCII characters that are considered whitespace. This includes the characters space, tab, linefeed, return, formfeed, and vertical tab.
标签:
原文地址:http://www.cnblogs.com/hhj187/p/4691943.html