Kaydet (Commit) df7ac061 authored tarafından R David Murray's avatar R David Murray

Merge doc fixes #14553 and #14552.

...@@ -352,7 +352,7 @@ the current directory. :: ...@@ -352,7 +352,7 @@ the current directory. ::
httpd.serve_forever() httpd.serve_forever()
:mod:`http.server` can also be invoked directly using the :option:`-m` :mod:`http.server` can also be invoked directly using the :option:`-m`
switch of the interpreter a with ``port number`` argument. Similar to switch of the interpreter with a ``port number`` argument. Similar to
the previous example, this serves files relative to the current directory. :: the previous example, this serves files relative to the current directory. ::
python -m http.server 8000 python -m http.server 8000
......
...@@ -172,9 +172,9 @@ only print whether the test passed or failed. ...@@ -172,9 +172,9 @@ only print whether the test passed or failed.
Running :mod:`test` directly allows what resources are available for Running :mod:`test` directly allows what resources are available for
tests to use to be set. You do this by using the ``-u`` command-line tests to use to be set. You do this by using the ``-u`` command-line
option. Run :program:`python -m test -uall` to turn on all option. Specifying ``all`` as the value for the ``-u`` option enables all
resources; specifying ``all`` as an option for ``-u`` enables all possible resources: :program:`python -m test -uall`.
possible resources. If all but one resource is desired (a more common case), a If all but one resource is desired (a more common case), a
comma-separated list of resources that are not desired may be listed after comma-separated list of resources that are not desired may be listed after
``all``. The command :program:`python -m test -uall,-audio,-largefile` ``all``. The command :program:`python -m test -uall,-audio,-largefile`
will run :mod:`test` with all resources except the ``audio`` and will run :mod:`test` with all resources except the ``audio`` and
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment