diff options
author | Martin Panter <vadmium+py@gmail.com> | 2016-02-10 05:44:01 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2016-02-10 05:44:01 (GMT) |
commit | c04fb56e36999a4162e6ccfe1f9357100abaee99 (patch) | |
tree | 68f930a7b0956c487f671f6868fc00bac6edafb7 /Doc/whatsnew | |
parent | 96a4f07107476c0038ff1302b7ef779cab07e8ae (diff) | |
download | cpython-c04fb56e36999a4162e6ccfe1f9357100abaee99.zip cpython-c04fb56e36999a4162e6ccfe1f9357100abaee99.tar.gz cpython-c04fb56e36999a4162e6ccfe1f9357100abaee99.tar.bz2 |
Issue #26304: Change "allows to <verb>" to "allows <verb>ing" or similar
The original form is incorrect grammar and feels awkward, even though the
meaning is clear.
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/3.3.rst | 6 | ||||
-rw-r--r-- | Doc/whatsnew/3.5.rst | 14 |
2 files changed, 10 insertions, 10 deletions
diff --git a/Doc/whatsnew/3.3.rst b/Doc/whatsnew/3.3.rst index 094eff8..6ee40cd 100644 --- a/Doc/whatsnew/3.3.rst +++ b/Doc/whatsnew/3.3.rst @@ -1528,7 +1528,7 @@ by Petri Lehtinen in :issue:`12021`.) multiprocessing --------------- -The new :func:`multiprocessing.connection.wait` function allows to poll +The new :func:`multiprocessing.connection.wait` function allows polling multiple objects (such as connections, sockets and pipes) with a timeout. (Contributed by Richard Oudkerk in :issue:`12328`.) @@ -1715,8 +1715,8 @@ pickle ------ :class:`pickle.Pickler` objects now have an optional -:attr:`~pickle.Pickler.dispatch_table` attribute allowing to set per-pickler -reduction functions. +:attr:`~pickle.Pickler.dispatch_table` attribute allowing per-pickler +reduction functions to be set. (Contributed by Richard Oudkerk in :issue:`14166`.) diff --git a/Doc/whatsnew/3.5.rst b/Doc/whatsnew/3.5.rst index bb520dc..52a6e91 100644 --- a/Doc/whatsnew/3.5.rst +++ b/Doc/whatsnew/3.5.rst @@ -748,7 +748,7 @@ Improved Modules argparse -------- -The :class:`~argparse.ArgumentParser` class now allows to disable +The :class:`~argparse.ArgumentParser` class now allows disabling :ref:`abbreviated usage <prefix-matching>` of long options by setting :ref:`allow_abbrev` to ``False``. (Contributed by Jonathan Paugh, Steven Bethard, paul j3 and Daniel Eriksson in :issue:`14910`.) @@ -913,12 +913,12 @@ external `PyPI package <https://pypi.python.org/pypi/backports_abc>`_. compileall ---------- -A new :mod:`compileall` option, :samp:`-j {N}`, allows to run *N* workers +A new :mod:`compileall` option, :samp:`-j {N}`, allows running *N* workers simultaneously to perform parallel bytecode compilation. The :func:`~compileall.compile_dir` function has a corresponding ``workers`` parameter. (Contributed by Claudiu Popa in :issue:`16104`.) -Another new option, ``-r``, allows to control the maximum recursion +Another new option, ``-r``, allows controlling the maximum recursion level for subdirectories. (Contributed by Claudiu Popa in :issue:`19628`.) The ``-q`` command line option can now be specified more than once, in @@ -1453,8 +1453,8 @@ or newer, and ``getentropy()`` on OpenBSD 5.6 and newer, removing the need to use ``/dev/urandom`` and avoiding failures due to potential file descriptor exhaustion. (Contributed by Victor Stinner in :issue:`22181`.) -New :func:`~os.get_blocking` and :func:`~os.set_blocking` functions allow to -get and set a file descriptor's blocking mode (:data:`~os.O_NONBLOCK`.) +New :func:`~os.get_blocking` and :func:`~os.set_blocking` functions allow +getting and setting a file descriptor's blocking mode (:data:`~os.O_NONBLOCK`.) (Contributed by Victor Stinner in :issue:`22054`.) The :func:`~os.truncate` and :func:`~os.ftruncate` functions are now supported @@ -1681,8 +1681,8 @@ socket Functions with timeouts now use a monotonic clock, instead of a system clock. (Contributed by Victor Stinner in :issue:`22043`.) -A new :meth:`socket.sendfile() <socket.socket.sendfile>` method allows to -send a file over a socket by using the high-performance :func:`os.sendfile` +A new :meth:`socket.sendfile() <socket.socket.sendfile>` method allows +sending a file over a socket by using the high-performance :func:`os.sendfile` function on UNIX, resulting in uploads being from 2 to 3 times faster than when using plain :meth:`socket.send() <socket.socket.send>`. (Contributed by Giampaolo Rodola' in :issue:`17552`.) |