AFAIK parameter "account" is not needed in most cases.
I guess the docs would be better for newbees, if the first usage example of FTPHost does not use it:
https://ftputil.sschwarzer.net/trac/wiki/Documentation#ftphost-objects
And I would explain session_factory=ftplib.FTP later, not on the first usage example.
I agree that
account
andsession_factory
aren't needed for the "basics" as the subsection is titled. :-)By the way, it's rare that someone notices such "usability' issues in the documentaton, so I'm especially thankful for feedback like this. Are there other things that could be improved?
Improved the documentation in c6d0136bf66260c302304a9c53848e08337d405d.