[Python-checkins] bpo-37823: Fix open() link in telnetlib doc (GH-15281)

Miss Islington (bot) webhook-mailer at python.org
Wed Aug 21 07:52:09 EDT 2019


https://github.com/python/cpython/commit/98b11e1160a1749bfdb48bbf4c0dda177296b005
commit: 98b11e1160a1749bfdb48bbf4c0dda177296b005
branch: 2.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2019-08-21T04:52:05-07:00
summary:

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 at sinax.be>

files:
M Doc/library/telnetlib.rst

diff --git a/Doc/library/telnetlib.rst b/Doc/library/telnetlib.rst
index a3019f5fc3c9..73721f5fe153 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



More information about the Python-checkins mailing list