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

This commit is contained in:
Julien Palard 2018-03-28 23:14:15 +02:00 committed by GitHub
parent bac2d5ba30
commit 78553138be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View 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)

View 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