summaryrefslogtreecommitdiffstats
path: root/Doc/library/optparse.rst
diff options
context:
space:
mode:
authorPetri Lehtinen <petri@digip.org>2013-02-23 18:26:56 (GMT)
committerPetri Lehtinen <petri@digip.org>2013-02-23 18:27:49 (GMT)
commit9f74c6cf7d0fd6188194e7bba8f059843b9c3c89 (patch)
tree428d7473b21eb3eb0d728eab38c90490e455ec8b /Doc/library/optparse.rst
parent8b945148e3f98b9c6c51bfaa830e779979713b82 (diff)
downloadcpython-9f74c6cf7d0fd6188194e7bba8f059843b9c3c89.zip
cpython-9f74c6cf7d0fd6188194e7bba8f059843b9c3c89.tar.gz
cpython-9f74c6cf7d0fd6188194e7bba8f059843b9c3c89.tar.bz2
Issue #8890: Stop advertising an insecure use of /tmp in docs
Diffstat (limited to 'Doc/library/optparse.rst')
-rw-r--r--Doc/library/optparse.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/optparse.rst b/Doc/library/optparse.rst
index 6a03edf..13395b6 100644
--- a/Doc/library/optparse.rst
+++ b/Doc/library/optparse.rst
@@ -171,10 +171,10 @@ required option
For example, consider this hypothetical command-line::
- prog -v --report /tmp/report.txt foo bar
+ prog -v --report report.txt foo bar
``-v`` and ``--report`` are both options. Assuming that ``--report``
-takes one argument, ``/tmp/report.txt`` is an option argument. ``foo`` and
+takes one argument, ``report.txt`` is an option argument. ``foo`` and
``bar`` are positional arguments.