mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +00:00
Use the right role.
This commit is contained in:
parent
19b7a87121
commit
f68798b92e
1 changed files with 1 additions and 1 deletions
|
@ -301,7 +301,7 @@ the current directory. ::
|
||||||
print("serving at port", PORT)
|
print("serving at port", PORT)
|
||||||
httpd.serve_forever()
|
httpd.serve_forever()
|
||||||
|
|
||||||
:mod:`http.server` can also be invoked directly using the :cmdoption:`-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 a with ``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. ::
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue