]> granicus.if.org Git - python/commitdiff
bpo-37823: Fix open() link in telnetlib doc (GH-15281)
authorMichael Anckaert <michael.anckaert@sinax.be>
Wed, 21 Aug 2019 11:13:34 +0000 (13:13 +0200)
committerVictor Stinner <vstinner@redhat.com>
Wed, 21 Aug 2019 11:13:34 +0000 (12:13 +0100)
Fixed wrong link to Telnet.open() method in telnetlib documentation.

Doc/library/telnetlib.rst

index 0262a9b084108b8c3e7ff3902ea9bc71f4afb069..48a9aea50dddd1aecdfc102ca99c9fad131aa03b 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