]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-37823: Fix open() link in telnetlib doc (GH-15281)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 21 Aug 2019 11:38:25 +0000 (04:38 -0700)
committerGitHub <noreply@github.com>
Wed, 21 Aug 2019 11:38:25 +0000 (04:38 -0700)
Fixed wrong link to Telnet.open() method in telnetlib documentation.
(cherry picked from commit e0b6117e2723327d6741d0aa599408514add5b30)

Co-authored-by: Michael Anckaert <michael.anckaert@sinax.be>
Doc/library/telnetlib.rst

index 4ba426425277f9fb22c006a6f3b21fb92bf9ce5a..931711963b1620b2a1da871e48206c93fc6594b7 100644 (file)
@@ -29,7 +29,7 @@ Character), EL (Erase Line), GA (Go Ahead), SB (Subnegotiation Begin).
 .. class:: Telnet(host=None, port=0[, 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 too, in which case the connection to
    the server will be established before the constructor returns.  The optional