]> granicus.if.org Git - python/commitdiff
[3.6] Fix typos '.::' should typically just be '::'. (GH-6165). (GH-6895)
authorJulien Palard <julien@palard.fr>
Sat, 19 May 2018 07:28:28 +0000 (09:28 +0200)
committerGitHub <noreply@github.com>
Sat, 19 May 2018 07:28:28 +0000 (09:28 +0200)
(cherry picked from commit 78553138be3b38d361bded8e641a2a4fd65a9d16)

Doc/library/argparse.rst
Doc/library/mmap.rst

index c5bc1eebd7de5a2d3f0f26f9f75894e8c6ef2f56..a9cb5c5357b60742dfe3aed6e65aab39b69d5b7b 100644 (file)
@@ -981,7 +981,7 @@ is used when no command-line argument was present::
 
 
 Providing ``default=argparse.SUPPRESS`` causes no attribute to be added if the
-command-line argument was not present.::
+command-line argument was not present::
 
    >>> parser = argparse.ArgumentParser()
    >>> parser.add_argument('--foo', default=argparse.SUPPRESS)
index f46bf66db2ff517165a7d57fb43aad447cb792fa..d965fa36b47aea050b52e72311484347d1b5855a 100644 (file)
@@ -123,7 +123,7 @@ To map anonymous memory, -1 should be passed as the fileno along with the length
 
 
    :class:`~mmap.mmap` can also be used as a context manager in a :keyword:`with`
-   statement.::
+   statement::
 
       import mmap