This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author xtreak
Recipients docs@python, limuyuan, xtreak
Date 2018-09-14.08:14:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1536912870.64.0.956365154283.issue31305@psf.upfronthosting.co.za>
In-reply-to
Content
> Run "pydoc -w <name>" to write out the HTML documentation for a module
to a file named "<name>.html".

As mentioned in the help this works only for modules and since import is a keyword it throws an error. Maybe this could be added as an enhancement?

Thanks
History
Date User Action Args
2018-09-14 08:14:30xtreaksetrecipients: + xtreak, docs@python, limuyuan
2018-09-14 08:14:30xtreaksetmessageid: <1536912870.64.0.956365154283.issue31305@psf.upfronthosting.co.za>
2018-09-14 08:14:30xtreaklinkissue31305 messages
2018-09-14 08:14:30xtreakcreate