summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorMichael Anckaert <michael.anckaert@sinax.be>2019-08-21 11:13:34 (GMT)
committerVictor Stinner <vstinner@redhat.com>2019-08-21 11:13:34 (GMT)
commite0b6117e2723327d6741d0aa599408514add5b30 (patch)
tree174751353f475151fc01eb2f17bbe29ee21ca98b /Doc
parentde2d9eed8bc628533e1628b843cc4c7a5010f6e5 (diff)
downloadcpython-e0b6117e2723327d6741d0aa599408514add5b30.zip
cpython-e0b6117e2723327d6741d0aa599408514add5b30.tar.gz
cpython-e0b6117e2723327d6741d0aa599408514add5b30.tar.bz2
bpo-37823: Fix open() link in telnetlib doc (GH-15281)
Fixed wrong link to Telnet.open() method in telnetlib documentation.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/telnetlib.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/telnetlib.rst b/Doc/library/telnetlib.rst
index 0262a9b..48a9aea 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=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