From fad4b600744cde16e952a49af95ad6e520d05ca2 Mon Sep 17 00:00:00 2001 From: Martin Panter Date: Sat, 14 Nov 2015 01:29:17 +0000 Subject: [PATCH] Adjust grammar and punctuation in whatsnew/3.6.rst --- 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 index 89d69cc83c..b2066c5fc3 100644 --- a/Doc/whatsnew/3.6.rst +++ b/Doc/whatsnew/3.6.rst @@ -98,8 +98,8 @@ Improved Modules datetime -------- -:meth:`datetime.strftime ` and -:meth:`date.strftime ` methods now support ISO 8601 date +The :meth:`datetime.strftime() ` and +:meth:`date.strftime() ` methods now support ISO 8601 date directives ``%G``, ``%u`` and ``%V``. (Contributed by Ashley Anderson in :issue:`12006`.) @@ -107,17 +107,17 @@ directives ``%G``, ``%u`` and ``%V``. 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 ` 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 @@ an instance were excluded. (Contributed by Martin Panter in :issue:`25590`.) 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 @@ urllib.robotparser 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 index 0a11ebf8a2..8f33a5b4a8 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -191,10 +191,10 @@ Library - 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'. -- 2.40.0