]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
docs: fix simple typo, authentiate -> authenticate 2965/head
authorTim Gates <tim.gates@iress.com>
Mon, 21 Dec 2020 20:49:51 +0000 (07:49 +1100)
committerTim Gates <tim.gates@iress.com>
Mon, 21 Dec 2020 20:49:51 +0000 (07:49 +1100)
There is a small typo in tornado/netutil.py.

Should read `authenticate` rather than `authentiate`.

tornado/netutil.py

index 868d3e9e6963f4647e86a2fa11dd2e5c32b2edc8..f8a3038051b07b1a0e022d49c4159b54fe4021ca 100644 (file)
@@ -30,7 +30,7 @@ from tornado.util import Configurable, errno_from_exception
 from typing import List, Callable, Any, Type, Dict, Union, Tuple, Awaitable, Optional
 
 # Note that the naming of ssl.Purpose is confusing; the purpose
-# of a context is to authentiate the opposite side of the connection.
+# of a context is to authenticate the opposite side of the connection.
 _client_ssl_defaults = ssl.create_default_context(ssl.Purpose.SERVER_AUTH)
 _server_ssl_defaults = ssl.create_default_context(ssl.Purpose.CLIENT_AUTH)
 if hasattr(ssl, "OP_NO_COMPRESSION"):