[Python-checkins] [3.6] Fix typos '.::' should typically just be '::'. (GH-6165). (GH-6895)

Julien Palard webhook-mailer at python.org
Sat May 19 03:28:37 EDT 2018


https://github.com/python/cpython/commit/66b3f53db910d71b2cd75209fd3d9ff24d7797ba
commit: 66b3f53db910d71b2cd75209fd3d9ff24d7797ba
branch: 3.6
author: Julien Palard <julien at palard.fr>
committer: GitHub <noreply at github.com>
date: 2018-05-19T09:28:28+02:00
summary:

[3.6] Fix typos '.::' should typically just be '::'. (GH-6165). (GH-6895)

(cherry picked from commit 78553138be3b38d361bded8e641a2a4fd65a9d16)

files:
M Doc/library/argparse.rst
M Doc/library/mmap.rst

diff --git a/Doc/library/argparse.rst b/Doc/library/argparse.rst
index c5bc1eebd7de..a9cb5c5357b6 100644
--- a/Doc/library/argparse.rst
+++ b/Doc/library/argparse.rst
@@ -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)
diff --git a/Doc/library/mmap.rst b/Doc/library/mmap.rst
index f46bf66db2ff..d965fa36b47a 100644
--- a/Doc/library/mmap.rst
+++ b/Doc/library/mmap.rst
@@ -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
 



More information about the Python-checkins mailing list