mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Document actual string.punctuation value. (GH-12270)
This commit is contained in:
parent
53c2935dac
commit
b420428cf5
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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,
|
||||
|
|
|
Loading…
Add table
Add a link
Reference in a new issue