[Python-checkins] Fix socket type in DatagramHandler documentation: TCP -> UDP (GH-6272)

Xiang Zhang webhook-mailer at python.org
Fri Mar 30 03:36:15 EDT 2018


https://github.com/python/cpython/commit/233de021d915364bd3daee921d1d96d50d46d7fe
commit: 233de021d915364bd3daee921d1d96d50d46d7fe
branch: master
author: Mike DePalatis <mike at depalatis.net>
committer: Xiang Zhang <angwerzx at 126.com>
date: 2018-03-30T15:36:06+08:00
summary:

Fix socket type in DatagramHandler documentation: TCP -> UDP (GH-6272)

files:
M Doc/library/logging.handlers.rst

diff --git a/Doc/library/logging.handlers.rst b/Doc/library/logging.handlers.rst
index 0974286e55dc..f7262e60a31b 100644
--- a/Doc/library/logging.handlers.rst
+++ b/Doc/library/logging.handlers.rst
@@ -524,7 +524,7 @@ over UDP sockets.
 
    .. versionchanged:: 3.4
       If ``port`` is specified as ``None``, a Unix domain socket is created
-      using the value in ``host`` - otherwise, a TCP socket is created.
+      using the value in ``host`` - otherwise, a UDP socket is created.
 
    .. method:: emit()
 



More information about the Python-checkins mailing list