mirror of
https://github.com/python/cpython.git
synced 2026-01-19 22:00:26 +00:00
[3.6] Fix typos '.::' should typically just be '::'. (GH-6165). (GH-6895)
(cherry picked from commit 78553138be)
This commit is contained in:
parent
a5f33a899f
commit
66b3f53db9
2 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue