diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-06-27 18:07:16 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-27 18:07:16 (GMT) |
commit | 4fee28aa42dbac7f08a6d2829546b7d8e848034d (patch) | |
tree | 119433f608f787c9e34aa68abd4277ec3e108e13 /Doc/library/telnetlib.rst | |
parent | 60f24b23bf6ac485d195bb904635bdc3fe646b07 (diff) | |
download | cpython-4fee28aa42dbac7f08a6d2829546b7d8e848034d.zip cpython-4fee28aa42dbac7f08a6d2829546b7d8e848034d.tar.gz cpython-4fee28aa42dbac7f08a6d2829546b7d8e848034d.tar.bz2 |
bpo-37390: Add audit event table to documentations (GH-14406)
Also updates some (unreleased) event names to be consistent with the others.
(cherry picked from commit 44f91c388a6f4da9ed3300df32ca290b8aa104ea)
Co-authored-by: Steve Dower <steve.dower@python.org>
Diffstat (limited to 'Doc/library/telnetlib.rst')
-rw-r--r-- | Doc/library/telnetlib.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/telnetlib.rst b/Doc/library/telnetlib.rst index d238136..0262a9b 100644 --- a/Doc/library/telnetlib.rst +++ b/Doc/library/telnetlib.rst @@ -141,7 +141,7 @@ Telnet Objects Do not try to reopen an already connected instance. - .. audit-event:: telnetlib.Telnet.open "self host port" + .. audit-event:: telnetlib.Telnet.open self,host,port telnetlib.Telnet.open .. method:: Telnet.msg(msg, *args) @@ -178,7 +178,7 @@ Telnet Objects block if the connection is blocked. May raise :exc:`OSError` if the connection is closed. - .. audit-event:: telnetlib.Telnet.write "self buffer" + .. audit-event:: telnetlib.Telnet.write self,buffer telnetlib.Telnet.write .. versionchanged:: 3.3 This method used to raise :exc:`socket.error`, which is now an alias |