mirror of
https://github.com/python/cpython.git
synced 2024-11-28 12:31:14 +08:00
Be consistent and don't use a bullet list when a section has only one item.
This commit is contained in:
parent
3cfe52e9ef
commit
26d15bffaa
@ -1329,9 +1329,9 @@ underlying binary buffer.
|
||||
math
|
||||
----
|
||||
|
||||
The :mod:`math` module has a new function:
|
||||
The :mod:`math` module has a new function, :func:`~math.log2`, which returns
|
||||
the base-2 logarithm of *x*.
|
||||
|
||||
* :func:`~math.log2`: return the base-2 logarithm of *x*
|
||||
(Written by Mark Dickinson in :issue:`11888`).
|
||||
|
||||
|
||||
@ -1476,9 +1476,11 @@ os
|
||||
pdb
|
||||
---
|
||||
|
||||
* Tab-completion is now available not only for command names, but also their
|
||||
Tab-completion is now available not only for command names, but also their
|
||||
arguments. For example, for the ``break`` command, function and file names
|
||||
are completed. (Contributed by Georg Brandl in :issue:`14210`)
|
||||
are completed.
|
||||
|
||||
(Contributed by Georg Brandl in :issue:`14210`)
|
||||
|
||||
|
||||
pickle
|
||||
@ -1487,6 +1489,7 @@ pickle
|
||||
:class:`pickle.Pickler` objects now have an optional
|
||||
:attr:`~pickle.Pickler.dispatch_table` attribute allowing to set per-pickler
|
||||
reduction functions.
|
||||
|
||||
(Contributed by Richard Oudkerk in :issue:`14166`.)
|
||||
|
||||
|
||||
@ -1536,7 +1539,7 @@ sched
|
||||
shlex
|
||||
-----
|
||||
|
||||
* The previously undocumented helper function ``quote`` from the
|
||||
The previously undocumented helper function ``quote`` from the
|
||||
:mod:`pipes` modules has been moved to the :mod:`shlex` module and
|
||||
documented. :func:`~shlex.quote` properly escapes all characters in a string
|
||||
that might be otherwise given special meaning by the shell.
|
||||
@ -1599,7 +1602,7 @@ signal
|
||||
smtpd
|
||||
-----
|
||||
|
||||
* The :mod:`smtpd` module now supports :rfc:`5321` (extended SMTP) and :rfc:`1870`
|
||||
The :mod:`smtpd` module now supports :rfc:`5321` (extended SMTP) and :rfc:`1870`
|
||||
(size extension). Per the standard, these extensions are enabled if and only
|
||||
if the client initiates the session with an ``EHLO`` command.
|
||||
|
||||
@ -1611,7 +1614,7 @@ smtpd
|
||||
smtplib
|
||||
-------
|
||||
|
||||
* The :class:`~smtplib.SMTP_SSL` constructor and the :meth:`~smtplib.SMTP.starttls`
|
||||
The :class:`~smtplib.SMTP_SSL` constructor and the :meth:`~smtplib.SMTP.starttls`
|
||||
method now accept an SSLContext parameter to control parameters of the secure
|
||||
channel.
|
||||
|
||||
@ -1693,7 +1696,7 @@ ssl
|
||||
stat
|
||||
----
|
||||
|
||||
- The undocumented tarfile.filemode function has been moved to
|
||||
The undocumented tarfile.filemode function has been moved to
|
||||
:func:`stat.filemode`. It can be used to convert a file's mode to a string of
|
||||
the form '-rwxrwxrwx'.
|
||||
|
||||
@ -1702,7 +1705,7 @@ stat
|
||||
sys
|
||||
---
|
||||
|
||||
* The :mod:`sys` module has a new :data:`~sys.thread_info` :term:`struct
|
||||
The :mod:`sys` module has a new :data:`~sys.thread_info` :term:`struct
|
||||
sequence` holding informations about the thread implementation.
|
||||
|
||||
(:issue:`11223`)
|
||||
@ -1710,7 +1713,7 @@ sys
|
||||
textwrap
|
||||
--------
|
||||
|
||||
* The :mod:`textwrap` module has a new :func:`~textwrap.indent` that makes
|
||||
The :mod:`textwrap` module has a new :func:`~textwrap.indent` that makes
|
||||
it straightforward to add a common prefix to selected lines in a block
|
||||
of text.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user