From 66b3f53db910d71b2cd75209fd3d9ff24d7797ba Mon Sep 17 00:00:00 2001 From: Julien Palard Date: Sat, 19 May 2018 09:28:28 +0200 Subject: [PATCH] [3.6] Fix typos '.::' should typically just be '::'. (GH-6165). (GH-6895) (cherry picked from commit 78553138be3b38d361bded8e641a2a4fd65a9d16) --- Doc/library/argparse.rst | 2 +- Doc/library/mmap.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/library/argparse.rst b/Doc/library/argparse.rst index c5bc1eebd7..a9cb5c5357 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 f46bf66db2..d965fa36b4 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 -- 2.50.1