8000 Docs: mark up FTP() constructor with param list by erlend-aasland · Pull Request #114359 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

Docs: mark up FTP() constructor with param list #114359

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

Merged
merged 2 commits into from
Jan 21, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update Doc/library/ftplib.rst
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
  • Loading branch information
erlend-aasland and hugovk authored Jan 21, 2024
commit 7a2e6c9a369f31ee5aca60a414d1db17afacb99c
3 changes: 1 addition & 2 deletions Doc/library/ftplib.rst
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,7 @@ FTP objects
When *host* is given, the method call :meth:`connect(host) <connect>`
is made by the constructor.
When *user* is given, additionally the method call
:meth:`login(user, passwd, acct) <connect>` is made
(where *passwd* and *acct* default to the empty string when not given).
:meth:`login(user, passwd, acct) <connect>` is made.

:param str host:
The hostname to connect to.
Expand Down
0