summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Delfino <adelfino@gmail.com>2019-03-14 16:28:31 -0300
committerSerhiy Storchaka <storchaka@gmail.com>2019-03-14 21:28:31 +0200
commitb420428cf5c27ab90a206bf107cb055c84dcccd1 (patch)
tree81f4e907817c7b2a4fc97b7e68e584a975ffcbaf
parent53c2935dac9d814a3d0bae504dae2ee1c941c731 (diff)
downloadcpython-git-b420428cf5c27ab90a206bf107cb055c84dcccd1.tar.gz
Document actual string.punctuation value. (GH-12270)
-rw-r--r--Doc/library/string.rst3
-rw-r--r--Doc/tools/susp-ignored.csv1
2 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/string.rst b/Doc/library/string.rst
index 46b2bfc82b..c2f65224bc 100644
--- a/Doc/library/string.rst
+++ b/Doc/library/string.rst
@@ -56,8 +56,7 @@ The constants defined in this module are:
.. data:: punctuation
String of ASCII characters which are considered punctuation characters
- in the ``C`` locale.
-
+ in the ``C`` locale: ``!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~``.
.. data:: printable
diff --git a/Doc/tools/susp-ignored.csv b/Doc/tools/susp-ignored.csv
index 3c23dc12e3..68a278c1f4 100644
--- a/Doc/tools/susp-ignored.csv
+++ b/Doc/tools/susp-ignored.csv
@@ -215,6 +215,7 @@ library/stdtypes,,::,>>> hash(v[::-2]) == hash(b'abcefg'[::-2])
library/stdtypes,,:len,s[len(s):len(s)]
library/stdtypes,,::,>>> y = m[::2]
library/stdtypes,,::,>>> z = y[::-2]
+library/string,,`,"!""#$%&'()*+,-./:;<=>?@[\]^_`{|}~"
library/subprocess,,`,"output=`dmesg | grep hda`"
library/subprocess,,`,"output=`mycmd myarg`"
library/tarfile,,:bz2,