summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-09-18 19:38:11 (GMT)
committerFred Drake <fdrake@acm.org>2000-09-18 19:38:11 (GMT)
commitfd64c5908fd3a4d6f36f30a8304147245f82cd7b (patch)
tree3c208be564a25114c829d695f9e151864f3a4761
parent10d27660c95a6422bc22aa57aa064a5707bc1c16 (diff)
downloadcpython-fd64c5908fd3a4d6f36f30a8304147245f82cd7b.zip
cpython-fd64c5908fd3a4d6f36f30a8304147245f82cd7b.tar.gz
cpython-fd64c5908fd3a4d6f36f30a8304147245f82cd7b.tar.bz2
Fix serious typo!
Add the new constants to the module docstring.
-rw-r--r--Lib/string.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/string.py b/Lib/string.py
index 8b6343a..bf2811c 100644
--- a/Lib/string.py
+++ b/Lib/string.py
@@ -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