mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Fix serious typo!
Add the new constants to the module docstring.
This commit is contained in:
parent
10d27660c9
commit
fd64c5908f
1 changed files with 3 additions and 1 deletions
|
@ -14,6 +14,8 @@ letters -- a string containing all characters considered letters
|
|||
digits -- a string containing all characters considered decimal digits
|
||||
hexdigits -- a string containing all characters considered hexadecimal digits
|
||||
octdigits -- a string containing all characters considered octal digits
|
||||
punctuation -- a string containing all characters considered punctuation
|
||||
printable -- a string containing all characters considered printable
|
||||
|
||||
"""
|
||||
|
||||
|
@ -25,7 +27,7 @@ letters = lowercase + uppercase
|
|||
digits = '0123456789'
|
||||
hexdigits = digits + 'abcdef' + 'ABCDEF'
|
||||
octdigits = '01234567'
|
||||
punctuaction = """!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~"""
|
||||
punctuation = """!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~"""
|
||||
printable = digits + letters + punctuation + whitespace
|
||||
|
||||
# Case conversion helpers
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue