From: Julien Palard Date: Sat, 19 May 2018 07:28:28 +0000 (+0200) Subject: [3.6] Fix typos '.::' should typically just be '::'. (GH-6165). (GH-6895) X-Git-Tag: v3.6.6rc1~118 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=66b3f53db910d71b2cd75209fd3d9ff24d7797ba;p=thirdparty%2FPython%2Fcpython.git [3.6] Fix typos '.::' should typically just be '::'. (GH-6165). (GH-6895) (cherry picked from commit 78553138be3b38d361bded8e641a2a4fd65a9d16) --- 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