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

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