-
-
Notifications
You must be signed in to change notification settings - Fork 30.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Typo in the documentation of the cmd
parameter of ftplib.FTP.retrbinary()
#120823
Comments
Agreed. The retrbinary doc entry does not match its docstring, which includes "cmd: A RETR command." RFC959 confirms that this has the same format as the STOR command: |
mirelagrigoras
pushed a commit
to mirelagrigoras/cpython
that referenced
this issue
Jul 13, 2024
mirelagrigoras
added a commit
to mirelagrigoras/cpython
that referenced
this issue
Jul 13, 2024
encukou
pushed a commit
that referenced
this issue
Jul 13, 2024
Co-authored-by: Mirela Andreea GRIGORAS <[email protected]>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Jul 13, 2024
(cherry picked from commit 422855a) Co-authored-by: mirelagrigoras <[email protected]> Co-authored-by: Mirela Andreea GRIGORAS <[email protected]>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Jul 13, 2024
(cherry picked from commit 422855a) Co-authored-by: mirelagrigoras <[email protected]> Co-authored-by: Mirela Andreea GRIGORAS <[email protected]>
encukou
pushed a commit
that referenced
this issue
Jul 13, 2024
…-121706) (cherry picked from commit 422855a) Co-authored-by: mirelagrigoras <[email protected]> Co-authored-by: Mirela Andreea GRIGORAS <[email protected]>
encukou
pushed a commit
that referenced
this issue
Jul 13, 2024
…-121707) (cherry picked from commit 422855a) Co-authored-by: Mirela Andreea GRIGORAS <[email protected]>
estyxx
pushed a commit
to estyxx/cpython
that referenced
this issue
Jul 17, 2024
Co-authored-by: Mirela Andreea GRIGORAS <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Documentation
The documentation of the
cmd
parameter offtplib.FTP.retrbinary()
readsI suspect, this was copy-and-pasted from
ftplib.FTP.storbinary()
. I believe it should readcmd (str) – An appropriate
RETR
command:"RETR filename"
.Linked PRs
cmd
argument should be a "RETR" command #120869The text was updated successfully, but these errors were encountered: