]> granicus.if.org Git - python/commitdiff
Issue #25523: Further a-to-an corrections new in 3.5.
authorSerhiy Storchaka <storchaka@gmail.com>
Mon, 2 Nov 2015 12:40:41 +0000 (14:40 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Mon, 2 Nov 2015 12:40:41 +0000 (14:40 +0200)
Doc/library/glob.rst
Lib/test/test_asdl_parser.py
Misc/NEWS
Modules/_ssl.c

index 50f38a4d3656a6e967270f740ad7a83d3debde7a..d16b001f52cfff219f751ea85b528480e4613207 100644 (file)
@@ -38,7 +38,7 @@ For example, ``'[?]'`` matches the character ``'?'``.
    symlinks are included in the results (as in the shell).
 
    If *recursive* is true, the pattern "``**``" will match any files and zero or
-   more directories and subdirectories.  If the pattern is followed by a
+   more directories and subdirectories.  If the pattern is followed by an
    ``os.sep``, only directories and subdirectories match.
 
    .. note::
index 7a6426a4d35afa46323e3438e220fa0d745f43f0..15bc684904c9af0063ff848678d3cf094561490d 100644 (file)
@@ -21,7 +21,7 @@ class TestAsdlParser(unittest.TestCase):
     def setUpClass(cls):
         # Loads the asdl module dynamically, since it's not in a real importable
         # package.
-        # Parses Python.asdl into a ast.Module and run the check on it.
+        # Parses Python.asdl into an ast.Module and run the check on it.
         # There's no need to do this for each test method, hence setUpClass.
         sys.path.insert(0, parser_dir)
         loader = importlib.machinery.SourceFileLoader(
index 5fb54d893e3bf02c6ba4265af6b59b389704dae7..9626c49fe612162c53366624dc5d950ae58cf6ec 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -2483,7 +2483,7 @@ Library
 
 - Issue #20170: Convert posixmodule to use Argument Clinic.
 
-- Issue #21539: Add a *exists_ok* argument to `Pathlib.mkdir()` to mimic
+- Issue #21539: Add an *exists_ok* argument to `Pathlib.mkdir()` to mimic
   `mkdir -p` and `os.makedirs()` functionality.  When true, ignore
   FileExistsErrors.  Patch by Berker Peksag.
 
index 5d20e7c4141895bf885d5f1eed84f80ff995c433..4f4379fb447c4d0109f7cc3717decaaaf1edf547 100644 (file)
@@ -3273,7 +3273,7 @@ _servername_callback(SSL *s, int *al, void *args)
     ssl = SSL_get_app_data(s);
     assert(PySSLSocket_Check(ssl));
 
-    /* The servername callback expects a argument that represents the current
+    /* The servername callback expects an argument that represents the current
      * SSL connection and that has a .context attribute that can be changed to
      * identify the requested hostname. Since the official API is the Python
      * level API we want to pass the callback a Python level object rather than