gh-100001: Remove doc typo, add versionadded (#100042)

gh-100001: Remove new doc typo, add versionadded.
This commit is contained in:
Gregory P. Smith 2022-12-05 15:15:13 -08:00 committed by GitHub
parent 7e29398407
commit bed15f87ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View 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.