mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
gh-97590: Update docs and tests for ftplib.FTP.voidcmd() (GH-96825)
Since 2f3941d743 this function returns the
response string, rather than nothing.
This commit is contained in:
parent
26800cf25a
commit
e88ebc1c40
2 changed files with 4 additions and 4 deletions
|
|
@ -232,8 +232,8 @@ FTP objects
|
|||
.. method:: FTP.voidcmd(cmd)
|
||||
|
||||
Send a simple command string to the server and handle the response. Return
|
||||
nothing if a response code corresponding to success (codes in the range
|
||||
200--299) is received. Raise :exc:`error_reply` otherwise.
|
||||
the response string if the response code corresponds to success (codes in
|
||||
the range 200--299). Raise :exc:`error_reply` otherwise.
|
||||
|
||||
.. audit-event:: ftplib.sendcmd self,cmd ftplib.FTP.voidcmd
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue