]> granicus.if.org Git - python/commitdiff
Fix typos '.::' should typically just be '::'. (GH-6165)
authorJulien Palard <julien@palard.fr>
Wed, 28 Mar 2018 21:14:15 +0000 (23:14 +0200)
committerGitHub <noreply@github.com>
Wed, 28 Mar 2018 21:14:15 +0000 (23:14 +0200)
Doc/faq/windows.rst
Doc/library/argparse.rst
Doc/library/mmap.rst

index d703f2862221a66071654a9d9ee3c15e79381934..f049bc8387b769d51f47874ecabcd2487d46314e 100644 (file)
@@ -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
 
index 53e670161dd5b36ae8a5353f430aa732c0c71195..cc99cce2b27d2e1bfbf7f4c21295ca6134f08a03 100644 (file)
@@ -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)
index 184119df5918832aeac60218b1449f6a48b7d749..ca09a6a3ca9955d0455b0768ef119181d75773d4 100644 (file)
@@ -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