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

Ned Deily webhook-mailer at python.org
Thu Mar 29 04:34:47 EDT 2018

commit: a470b7462d741fc2606d5369a935ae2a3dc89ae2
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: Ned Deily <nad at python.org>
date: 2018-03-29T04:34:44-04:00

Fix typos '.::' should typically just be '::'. (GH-6165) (GH-6300)

(cherry picked from commit 78553138be3b38d361bded8e641a2a4fd65a9d16)

Co-authored-by: Julien Palard <julien at palard.fr>

M Doc/faq/windows.rst
M Doc/library/argparse.rst
M Doc/library/mmap.rst

diff --git a/Doc/faq/windows.rst b/Doc/faq/windows.rst
index d703f2862221..f049bc8387b7 100644
--- a/Doc/faq/windows.rst
+++ b/Doc/faq/windows.rst
@@ -60,7 +60,7 @@ program. So, how do you arrange for the interpreter to handle your Python?
 First, you need to make sure that your command window recognises the word
 "python" as an instruction to start the interpreter.  If you have opened a
 command window, you should try entering the command ``python`` and hitting
    C:\Users\YourName> python
diff --git a/Doc/library/argparse.rst b/Doc/library/argparse.rst
index 53e670161dd5..cc99cce2b27d 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 184119df5918..ca09a6a3ca99 100644
--- a/Doc/library/mmap.rst
+++ b/Doc/library/mmap.rst
@@ -127,7 +127,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