]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-46468: document that "-m http.server" defaults to port 8000 (GH-30776) (#30787)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 22 Jan 2022 15:31:52 +0000 (07:31 -0800)
committerGitHub <noreply@github.com>
Sat, 22 Jan 2022 15:31:52 +0000 (17:31 +0200)
commit923c994400b3f1c67f95d25c703e131890a16912
tree642e2c237d9311d3c5304171f3fe3a87b4939873
parentacda9f3b90c33e4020237cb9e5c676efb38f7847
bpo-46468: document that "-m http.server" defaults to port 8000 (GH-30776) (#30787)

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

It's been this way since at least 3.4.

Also improved some wording in the same section.
(cherry picked from commit c8a536624e8f5d6612e3c275c5b19592583a8cf8)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Doc/library/http.server.rst