[Python-checkins] bpo-34576 - Fix the formatting for security considerations in http.server.rst (#10005)

Senthil Kumaran webhook-mailer at python.org
Sat Oct 20 14:32:10 EDT 2018


https://github.com/python/cpython/commit/eeab510bb7e51802c18b3770cbb23ae0ca91da6b
commit: eeab510bb7e51802c18b3770cbb23ae0ca91da6b
branch: master
author: Senthil Kumaran <skumaran at gatech.edu>
committer: GitHub <noreply at github.com>
date: 2018年10月20日T11:32:07-07:00
summary:
bpo-34576 - Fix the formatting for security considerations in http.server.rst (#10005)
* bpo-34576 - Fix the formatting for security considerations in http.server.rst
* Address review comment.
files:
M Doc/library/http.server.rst
diff --git a/Doc/library/http.server.rst b/Doc/library/http.server.rst
index 0b93c62288b1..45bb529f8c07 100644
--- a/Doc/library/http.server.rst
+++ b/Doc/library/http.server.rst
@@ -16,12 +16,12 @@
 
 This module defines classes for implementing HTTP servers (Web servers).
 
-Security Considerations
------------------------
 
-http.server is meant for demo purposes and does not implement the stringent
-security checks needed of real HTTP server. We do not recommend
-using this module directly in production.
+.. warning::
+
+ :mod:`http.server` is meant for demo purposes and does not implement the
+ stringent security checks needed of a real HTTP server. We do not recommend
+ using this module directly in production.
 
 
 One class, :class:`HTTPServer`, is a :class:`socketserver.TCPServer` subclass.


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /