Richard Mortier <rmm1002@users.sourceforge.net>:
Add the constants "printable" and "punctuation" to the string module.
This commit is contained in:
parent
6f6d51d050
commit
6b2320fa6b
|
@ -25,6 +25,8 @@ letters = lowercase + uppercase
|
||||||
digits = '0123456789'
|
digits = '0123456789'
|
||||||
hexdigits = digits + 'abcdef' + 'ABCDEF'
|
hexdigits = digits + 'abcdef' + 'ABCDEF'
|
||||||
octdigits = '01234567'
|
octdigits = '01234567'
|
||||||
|
punctuaction = """!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~"""
|
||||||
|
printable = digits + letters + punctuation + whitespace
|
||||||
|
|
||||||
# Case conversion helpers
|
# Case conversion helpers
|
||||||
_idmap = ''
|
_idmap = ''
|
||||||
|
|
Loading…
Reference in New Issue