Document actual string.punctuation value. (GH-12270)

This commit is contained in:
Andre Delfino 2019-03-14 16:28:31 -03:00 committed by Serhiy Storchaka
parent 53c2935dac
commit b420428cf5
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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,

1 c-api/arg :ref PyArg_ParseTuple(args, "O|O:ref", &object, &callback)
215 library/stdtypes :len s[len(s):len(s)]
216 library/stdtypes :: >>> y = m[::2]
217 library/stdtypes :: >>> z = y[::-2]
218 library/string ` !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~
219 library/subprocess ` output=`dmesg | grep hda`
220 library/subprocess ` output=`mycmd myarg`
221 library/tarfile :bz2