mirror of
https://github.com/python/cpython.git
synced 2025-11-02 11:08:57 +00:00
Fix markup error and update suspicious file.
This commit is contained in:
parent
3de338f47e
commit
c88435023c
2 changed files with 14 additions and 2 deletions
|
|
@ -274,10 +274,10 @@ Here are the methods of the :class:`Message` class:
|
||||||
it can be specified as a three tuple in the format
|
it can be specified as a three tuple in the format
|
||||||
``(CHARSET, LANGUAGE, VALUE)``, where ``CHARSET`` is a string naming the
|
``(CHARSET, LANGUAGE, VALUE)``, where ``CHARSET`` is a string naming the
|
||||||
charset to be used to encode the value, ``LANGUAGE`` can usually be set
|
charset to be used to encode the value, ``LANGUAGE`` can usually be set
|
||||||
to ``None`` or the empty string (see :RFC:`2231` for other possibilities),
|
to ``None`` or the empty string (see :rfc:`2231` for other possibilities),
|
||||||
and ``VALUE`` is the string value containing non-ASCII code points. If
|
and ``VALUE`` is the string value containing non-ASCII code points. If
|
||||||
a three tuple is not passed and the value contains non-ASCII characters,
|
a three tuple is not passed and the value contains non-ASCII characters,
|
||||||
it is automatically encoded in :RFC`2231` format using a ``CHARSET``
|
it is automatically encoded in :rfc:`2231` format using a ``CHARSET``
|
||||||
of ``utf-8`` and a ``LANGUAGE`` of ``None``.
|
of ``utf-8`` and a ``LANGUAGE`` of ``None``.
|
||||||
|
|
||||||
Here's an example::
|
Here's an example::
|
||||||
|
|
|
||||||
|
|
@ -331,3 +331,15 @@ library/configparser,,:path,python_dir: ${Frameworks:path}/Python/Versions/${Fra
|
||||||
library/configparser,,:Python,python_dir: ${Frameworks:path}/Python/Versions/${Frameworks:Python}
|
library/configparser,,:Python,python_dir: ${Frameworks:path}/Python/Versions/${Frameworks:Python}
|
||||||
library/pdb,,:lineno,[filename:lineno | bpnumber [bpnumber ...]]
|
library/pdb,,:lineno,[filename:lineno | bpnumber [bpnumber ...]]
|
||||||
library/pdb,,:lineno,filename:lineno
|
library/pdb,,:lineno,filename:lineno
|
||||||
|
library/logging,,:Watch,WARNING:root:Watch out!
|
||||||
|
library/logging,,:So,INFO:root:So should this
|
||||||
|
library/logging,,:Started,INFO:root:Started
|
||||||
|
library/logging,,:Doing,INFO:root:Doing something
|
||||||
|
library/logging,,:Finished,INFO:root:Finished
|
||||||
|
library/logging,,:Look,WARNING:root:Look before you leap!
|
||||||
|
library/logging,,:So,INFO:So should this
|
||||||
|
library/logging,,:logger,severity:logger name:message
|
||||||
|
library/logging,,:message,severity:logger name:message
|
||||||
|
whatsnew/3.2,,:directory,... ${buildout:directory}/downloads/dist
|
||||||
|
whatsnew/3.2,,:location,... zope9-location = ${zope9:location}
|
||||||
|
whatsnew/3.2,,:prefix,... zope-conf = ${custom:prefix}/etc/zope.conf
|
||||||
|
|
|
||||||
|
Loading…
Add table
Add a link
Reference in a new issue