Skip to content

Commit fd64c59

Browse files
committed
Fix serious typo!
Add the new constants to the module docstring.
1 parent 10d2766 commit fd64c59

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎Lib/string.py‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
digits -- a string containing all characters considered decimal digits
1515
hexdigits -- a string containing all characters considered hexadecimal digits
1616
octdigits -- a string containing all characters considered octal digits
17+
punctuation -- a string containing all characters considered punctuation
18+
printable -- a string containing all characters considered printable
1719
1820
"""
1921

@@ -25,7 +27,7 @@
2527
digits = '0123456789'
2628
hexdigits = digits + 'abcdef' + 'ABCDEF'
2729
octdigits = '01234567'
28-
punctuaction = """!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~"""
30+
punctuation = """!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~"""
2931
printable = digits + letters + punctuation + whitespace
3032

3133
# Case conversion helpers

0 commit comments

Comments
 (0)