summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/string.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/string.py b/Lib/string.py
index 6570fef..8b6343a 100644
--- a/Lib/string.py
+++ b/Lib/string.py
@@ -25,6 +25,8 @@ letters = lowercase + uppercase
digits = '0123456789'
hexdigits = digits + 'abcdef' + 'ABCDEF'
octdigits = '01234567'
+punctuaction = """!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~"""
+printable = digits + letters + punctuation + whitespace
# Case conversion helpers
_idmap = ''