From ca18a7d7e4d009383c7094b3088747db4f786479 Mon Sep 17 00:00:00 2001 From: Michael Anckaert Date: Wed, 21 Aug 2019 13:13:34 +0200 Subject: [PATCH] bpo-37823: Fix open() link in telnetlib doc (GH-15281) Fixed wrong link to Telnet.open() method in telnetlib documentation. (cherry picked from commit e0b6117e2723327d6741d0aa599408514add5b30) Co-authored-by: Michael Anckaert --- Doc/library/telnetlib.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/telnetlib.rst b/Doc/library/telnetlib.rst index a3019f5fc3c9519..73721f5fe153998 100644 --- a/Doc/library/telnetlib.rst +++ b/Doc/library/telnetlib.rst @@ -29,7 +29,7 @@ Character), EL (Erase Line), GA (Go Ahead), SB (Subnegotiation Begin). .. class:: Telnet([host[, port[, timeout]]]) :class:`Telnet` represents a connection to a Telnet server. The instance is - initially not connected by default; the :meth:`open` method must be used to + initially not connected by default; the :meth:`~Telnet.open` method must be used to establish a connection. Alternatively, the host name and optional port number can be passed to the constructor, to, in which case the connection to the server will be established before the constructor returns. The optional