]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix phrasing in Doc/whatsnew/3.7.rst (GH-4318)
authorCody Scott <cody.j.b.scott@gmail.com>
Thu, 9 Nov 2017 18:58:59 +0000 (13:58 -0500)
committerBerker Peksag <berker.peksag@gmail.com>
Thu, 9 Nov 2017 18:58:59 +0000 (21:58 +0300)
Doc/whatsnew/3.7.rst

index d325fdc5dfc9bd6a461f0b7c19637a0311bdae7b..f6d051de2eb25ec73c0f1f0725e3c653d0d3880e 100644 (file)
@@ -441,8 +441,8 @@ Optimizations
   INADA Naoki in :issue:`26110`.)
 
 * Searching some unlucky Unicode characters (like Ukrainian capital "Є")
-  in a string was to 25 times slower than searching other characters.
-  Now it is slower only by 3 times in worst case.
+  in a string was up to 25 times slower than searching other characters.
+  Now it is slower only by 3 times in the worst case.
   (Contributed by Serhiy Storchaka in :issue:`24821`.)
 
 * Fast implementation from standard C library is now used for functions
@@ -463,7 +463,7 @@ Optimizations
 
 * :func:`re.compile` now converts ``flags`` parameter to int object if
   it is ``RegexFlag``.  It is now as fast as Python 3.5, and faster than
-  Python 3.6 about 10% depending on the pattern.
+  Python 3.6 by about 10% depending on the pattern.
   (Contributed by INADA Naoki in :issue:`31671`.)
 
 * :meth:`selectors.EpollSelector.modify`, :meth:`selectors.PollSelector.modify`