From 895677af4493b5c035d58473f89d189513bd5633 Mon Sep 17 00:00:00 2001 From: Julien Palard Date: Wed, 28 Mar 2018 23:14:15 +0200 Subject: [PATCH] Fix typos '.::' should typically just be '::'. (GH-6165) (cherry picked from commit 78553138be3b38d361bded8e641a2a4fd65a9d16) Co-authored-by: Julien Palard --- Doc/faq/windows.rst | 2 +- Doc/library/argparse.rst | 2 +- Doc/library/mmap.rst | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Doc/faq/windows.rst b/Doc/faq/windows.rst index 6ac83e45d2e8152..524425335648fa8 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 -return.:: +return:: C:\Users\YourName> python diff --git a/Doc/library/argparse.rst b/Doc/library/argparse.rst index 27c7ba558204865..a5e8df630aeade8 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 f46bf66db2ff517..d965fa36b47aea0 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