]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-46468: document that "-m http.server" defaults to port 8000 (GH-30776)
authorJelle Zijlstra <jelle.zijlstra@gmail.com>
Sat, 22 Jan 2022 12:31:15 +0000 (04:31 -0800)
committerGitHub <noreply@github.com>
Sat, 22 Jan 2022 12:31:15 +0000 (14:31 +0200)
commitc8a536624e8f5d6612e3c275c5b19592583a8cf8
treef257bf102b58ce1d0da37bc1ee9e48348637c77a
parentea5b96842e066623a53015d8b2492ed61a5baf96
bpo-46468: document that "-m http.server" defaults to port 8000 (GH-30776)

Code link:
https://github.com/python/cpython/blob/70c16468deee9390e34322d32fda57df6e0f46bb/Lib/http/server.py#L1270

It's been this way since at least 3.4.

Also improved some wording in the same section.
Doc/library/http.server.rst