[Python-checkins] cpython: Adjust grammar and punctuation in whatsnew/3.6.rst
martin.panter
python-checkins at python.org
Fri Nov 13 21:09:00 EST 2015
https://hg.python.org/cpython/rev/183386082eba
changeset: 99126:183386082eba
user: Martin Panter <vadmium+py at gmail.com>
date: Sat Nov 14 01:29:17 2015 +0000
summary:
Adjust grammar and punctuation in whatsnew/3.6.rst
files:
Doc/whatsnew/3.6.rst | 22 +++++++++++-----------
Misc/NEWS | 4 ++--
2 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/Doc/whatsnew/3.6.rst b/Doc/whatsnew/3.6.rst
--- a/Doc/whatsnew/3.6.rst
+++ b/Doc/whatsnew/3.6.rst
@@ -98,8 +98,8 @@
datetime
--------
-:meth:`datetime.strftime <datetime.datetime.strftime>` and
-:meth:`date.strftime <datetime.date.strftime>` methods now support ISO 8601 date
+The :meth:`datetime.strftime() <datetime.datetime.strftime>` and
+:meth:`date.strftime() <datetime.date.strftime>` methods now support ISO 8601 date
directives ``%G``, ``%u`` and ``%V``.
(Contributed by Ashley Anderson in :issue:`12006`.)
@@ -107,17 +107,17 @@
pickle
------
-Objects that need calling ``__new__`` with keyword arguments, can now be pickled
+Objects that need calling ``__new__`` with keyword arguments can now be pickled
using :ref:`pickle protocols <pickle-protocols>` older than protocol version 4.
Protocol version 4 already supports this case. (Contributed by Serhiy
Storchaka in :issue:`24164`.)
-rlcomplete
-----------
+rlcompleter
+-----------
Private and special attribute names now are omitted unless the prefix starts
-with underscores. A space or a colon can be added after completed keyword.
+with underscores. A space or a colon is added after some completed keywords.
(Contributed by Serhiy Storchaka in :issue:`25011` and :issue:`25209`.)
Names of most attributes listed by :func:`dir` are now completed.
@@ -128,7 +128,7 @@
urllib.robotparser
------------------
-:class:`~urllib.robotparser.RobotFileParser` now supports ``Crawl-delay`` and
+:class:`~urllib.robotparser.RobotFileParser` now supports the ``Crawl-delay`` and
``Request-rate`` extensions.
(Contributed by Nikolay Bogoychev in :issue:`16099`.)
@@ -136,18 +136,18 @@
Optimizations
=============
-* The ASCII decoder is now up to 60 times as fast for error handlers:
+* The ASCII decoder is now up to 60 times as fast for error handlers
``surrogateescape``, ``ignore`` and ``replace`` (Contributed
by Victor Stinner in :issue:`24870`).
* The ASCII and the Latin1 encoders are now up to 3 times as fast for the
- error ``surrogateescape`` (Contributed by Victor Stinner in :issue:`25227`).
+ error handler ``surrogateescape`` (Contributed by Victor Stinner in :issue:`25227`).
-* The UTF-8 encoder is now up to 75 times as fast for error handlers:
+* The UTF-8 encoder is now up to 75 times as fast for error handlers
``ignore``, ``replace``, ``surrogateescape``, ``surrogatepass`` (Contributed
by Victor Stinner in :issue:`25267`).
-* The UTF-8 decoder is now up to 15 times as fast for error handlers:
+* The UTF-8 decoder is now up to 15 times as fast for error handlers
``ignore``, ``replace`` and ``surrogateescape`` (Contributed
by Victor Stinner in :issue:`25301`).
diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -191,10 +191,10 @@
- Issue #25203: Failed readline.set_completer_delims() no longer left the
module in inconsistent state.
-- Issue #25011: rlcomplete now omits private and special attribute names unless
+- Issue #25011: rlcompleter now omits private and special attribute names unless
the prefix starts with underscores.
-- Issue #25209: rlcomplete now can add a space or a colon after completed keyword.
+- Issue #25209: rlcompleter now can add a space or a colon after completed keyword.
- Issue #22241: timezone.utc name is now plain 'UTC', not 'UTC-00:00'.
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list