diff options
author | Steve Dower <steve.dower@python.org> | 2019-06-27 17:47:59 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-27 17:47:59 (GMT) |
commit | 44f91c388a6f4da9ed3300df32ca290b8aa104ea (patch) | |
tree | 6e02d501dbcb28708fa662a33da2715a505389e5 /Doc/library/ftplib.rst | |
parent | 21cfae107e410bf4b0ab3c142ca4449bc33290f5 (diff) | |
download | cpython-44f91c388a6f4da9ed3300df32ca290b8aa104ea.zip cpython-44f91c388a6f4da9ed3300df32ca290b8aa104ea.tar.gz cpython-44f91c388a6f4da9ed3300df32ca290b8aa104ea.tar.bz2 |
bpo-37390: Add audit event table to documentations (GH-14406)
Also updates some (unreleased) event names to be consistent with the others.
Diffstat (limited to 'Doc/library/ftplib.rst')
-rw-r--r-- | Doc/library/ftplib.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/ftplib.rst b/Doc/library/ftplib.rst index 36abfbd..e006d01 100644 --- a/Doc/library/ftplib.rst +++ b/Doc/library/ftplib.rst @@ -190,7 +190,7 @@ followed by ``lines`` for the text version or ``binary`` for the binary version. *source_address* is a 2-tuple ``(host, port)`` for the socket to bind to as its source address before connecting. - .. audit-event:: ftplib.FTP.connect "self host port" + .. audit-event:: ftplib.connect self,host,port ftplib.FTP.connect .. versionchanged:: 3.3 *source_address* parameter was added. @@ -225,7 +225,7 @@ followed by ``lines`` for the text version or ``binary`` for the binary version. Send a simple command string to the server and return the response string. - .. audit-event:: ftplib.FTP.sendcmd "self cmd" + .. audit-event:: ftplib.sendcmd self,cmd ftplib.FTP.sendcmd .. method:: FTP.voidcmd(cmd) @@ -234,7 +234,7 @@ followed by ``lines`` for the text version or ``binary`` for the binary version. nothing if a response code corresponding to success (codes in the range 200--299) is received. Raise :exc:`error_reply` otherwise. - .. audit-event:: ftplib.FTP.sendcmd "self cmd" + .. audit-event:: ftplib.sendcmd self,cmd ftplib.FTP.voidcmd .. method:: FTP.retrbinary(cmd, callback, blocksize=8192, rest=None) |