Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bed15f8

Browse files
authored
gh-100001: Remove doc typo, add versionadded (#100042)
gh-100001: Remove new doc typo, add versionadded.
1 parent 7e29398 commit bed15f8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Doc/library/http.server.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,6 +516,8 @@ to be served.
516516
Earlier versions of Python did not scrub control characters from the
517517
log messages emitted to stderr from ``python -m http.server`` or the
518518
default :class:`BaseHTTPRequestHandler` ``.log_message``
519-
implementation. This could allow to remote clients connecting to your
519+
implementation. This could allow remote clients connecting to your
520520
server to send nefarious control codes to your terminal.
521521

522+
.. versionadded:: 3.12
523+
Control characters are scrubbed in stderr logs.

0 commit comments

Comments
 (0)