Mercurial > cpython-lru_cache-weakref
diff Lib/string.py @ 14670:8db8606d84ea legacy-trunk
Fix serious typo!
Add the new constants to the module docstring.
| author | Fred Drake <fdrake@acm.org> |
|---|---|
| date | Mon, 18 Sep 2000 19:38:11 +0000 |
| parents | 6fcf5a70533c |
| children | ed315b55f19e |
line wrap: on
line diff
--- a/Lib/string.py Mon Sep 18 19:07:26 2000 +0000 +++ b/Lib/string.py Mon Sep 18 19:38:11 2000 +0000 @@ -14,6 +14,8 @@ 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 @@ digits = '0123456789' hexdigits = digits + 'abcdef' + 'ABCDEF' octdigits = '01234567' -punctuaction = """!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~""" +punctuation = """!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~""" printable = digits + letters + punctuation + whitespace # Case conversion helpers
