]> granicus.if.org Git - python/commitdiff
Fix English spelling and grammar errors
authorMartin Panter <vadmium+py@gmail.com>
Mon, 20 Jun 2016 07:52:50 +0000 (07:52 +0000)
committerMartin Panter <vadmium+py@gmail.com>
Mon, 20 Jun 2016 07:52:50 +0000 (07:52 +0000)
Doc/tools/extensions/suspicious.py
Misc/NEWS
Modules/_tkinter.c

index d3ed849157f041a1febab6b0710e454a84cc4645..0a70e57d2b044f09db57913c22c899ebb79197b1 100644 (file)
@@ -270,5 +270,5 @@ class SuspiciousVisitor(nodes.GenericNodeVisitor):
         # ignore comments -- too much false positives.
         # (although doing this could miss some errors;
         # there were two sections "commented-out" by mistake
-        # in the Python docs that would not be catched)
+        # in the Python docs that would not be caught)
         raise nodes.SkipNode
index 5bf1f49aa6c7dda6b5e0e1345932488cabf54c73..aa4cba9314453cbff098c4e3fc4f5d26abef3d81 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -4566,7 +4566,7 @@ Core and Builtins
 - Issue #11450: Don't truncate hg version info in Py_GetBuildInfo() when
   there are many tags (e.g. when using mq).  Patch by Nadeem Vawda.
 
-- Issue #10451: memoryview objects could allow to mutate a readable buffer.
+- Issue #10451: memoryview objects could allow mutating a readable buffer.
   Initial patch by Ross Lagerwall.
 
 - Issue #10892: Don't segfault when trying to delete __abstractmethods__ from a
@@ -4635,7 +4635,7 @@ Library
   seeking a bit forward, writing, then seeking before the previous write but
   still within buffered data, and writing again).
 
-- Issue #8498: In socket.accept(), allow to specify 0 as a backlog value in
+- Issue #8498: In socket.accept(), allow specifying 0 as a backlog value in
   order to accept exactly one connection.  Patch by Daniel Evers.
 
 - Issue #12012: ssl.PROTOCOL_SSLv2 becomes optional.
@@ -6096,8 +6096,8 @@ Extension Modules
 
 - Build the ossaudio extension on GNU/kFreeBSD.
 
-- On Windows, ctypes does no longer check the stack before and after calling a
-  foreign function.  This allows to use the unmodified libffi library.
+- On Windows, ctypes no longer checks the stack before and after calling a
+  foreign function.  This allows using the unmodified libffi library.
 
 Tests
 -----
@@ -9432,8 +9432,7 @@ Library
 - The mimetools module has been deprecated for removal in 3.0.
 
 - The ctypes.byref function now takes an optional second parameter
-  which allows to specify an offset in bytes for the constructed
-  pointer-like object.
+  which specifies an offset in bytes for the constructed pointer-like object.
 
 - Added the ast module.
 
@@ -11058,7 +11057,7 @@ Library
   -- the failure just occurred later, with a more cumbersome
   exception.
 
-- Patch #787789: allow to pass custom TestRunner instances to
+- Patch #787789: allow passing custom TestRunner instances to
   unittest's main() function.
 
 - Patches #1550273, #1550272: fix a few bugs in unittest and add a
index 58456a444bbf94a730e7c26540c9bec43e8a1cbc..2a652b06a22d8404d4ab1407adeea7bd000a6699 100644 (file)
@@ -52,8 +52,8 @@ Copyright (C) 1994 Steen Lumholt.
      (size_t)(size) <= UINT_MAX / (size_t)(elemsize))
 
 /* Starting with Tcl 8.4, many APIs offer const-correctness.  Unfortunately,
-   making _tkinter correct for this API means to break earlier
-   versions. USE_COMPAT_CONST allows to make _tkinter work with both 8.4 and
+   making _tkinter correct for this API means breaking earlier
+   versions. USE_COMPAT_CONST allows making _tkinter work with both 8.4 and
    earlier versions. Once Tcl releases before 8.4 don't need to be supported
    anymore, this should go. */
 #define USE_COMPAT_CONST