summaryrefslogtreecommitdiff
path: root/Doc
diff options
context:
space:
mode:
authorGregory P. Smith <greg@krypto.org>2022-12-05 15:15:13 -0800
committerGitHub <noreply@github.com>2022-12-05 15:15:13 -0800
commitbed15f87eadc726122185cf41efcdda289f4a7b1 (patch)
tree7990af25815ad037c5f7dd7a05023c30f5d9a671 /Doc
parent7e29398407dbd53b714702abb89aa2fd7baca48a (diff)
downloadcpython-git-bed15f87eadc726122185cf41efcdda289f4a7b1.tar.gz
gh-100001: Remove doc typo, add versionadded (#100042)
gh-100001: Remove new doc typo, add versionadded.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/http.server.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/library/http.server.rst b/Doc/library/http.server.rst
index 154f3f3c39..3290b9beab 100644
--- a/Doc/library/http.server.rst
+++ b/Doc/library/http.server.rst
@@ -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.