summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-08-21 11:52:05 (GMT)
committerGitHub <noreply@github.com>2019-08-21 11:52:05 (GMT)
commit98b11e1160a1749bfdb48bbf4c0dda177296b005 (patch)
tree5f1ea333af0e69f0f68a8fcb5ffbf3f4d093cbc4
parent198a0d622a696a4c234aa7866d6c15e38839cc76 (diff)
downloadcpython-98b11e1160a1749bfdb48bbf4c0dda177296b005.zip
cpython-98b11e1160a1749bfdb48bbf4c0dda177296b005.tar.gz
cpython-98b11e1160a1749bfdb48bbf4c0dda177296b005.tar.bz2
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 <michael.anckaert@sinax.be>
-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 a3019f5..73721f5 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