]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-100001: Remove doc typo, add versionadded (#100042)
authorGregory P. Smith <greg@krypto.org>
Mon, 5 Dec 2022 23:15:13 +0000 (15:15 -0800)
committerGitHub <noreply@github.com>
Mon, 5 Dec 2022 23:15:13 +0000 (15:15 -0800)
gh-100001: Remove new doc typo, add versionadded.

Doc/library/http.server.rst

index 154f3f3c39049f448efa61b6bc6f3d8587775741..3290b9beab3ed943d61de8f0f1095b5f85f8504f 100644 (file)
@@ -516,6 +516,8 @@ to be served.
 Earlier versions of Python did not scrub control characters from the
 log messages emitted to stderr from ``python -m http.server`` or the
 default :class:`BaseHTTPRequestHandler` ``.log_message``
-implementation. This could allow to remote clients connecting to your
+implementation. This could allow remote clients connecting to your
 server to send nefarious control codes to your terminal.
 
+.. versionadded:: 3.12
+   Control characters are scrubbed in stderr logs.