Title: 'pydoc -w import' report "no Python documentation found for 'import'"
Type: behavior Stage:
Components: Documentation Versions: Python 3.5, Python 2.7
Status: open Resolution:
Dependencies: Superseder:
Assigned To: docs@python Nosy List: docs@python, limuyuan, xtreak
Priority: normal Keywords:

Created on 2017-08-30 02:19 by limuyuan, last changed 2018-09-14 08:14 by xtreak.

Messages (1)
msg325333 - (view) Author: Karthikeyan Singaravelan (xtreak) * (Python triager) Date: 2018-09-14 08:14
> 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?

Date User Action Args
2018-09-14 08:14:30xtreaksetnosy: + xtreak
messages: + msg325333
2017-08-30 02:22:41limuyuansetversions: + Python 3.5
2017-08-30 02:19:09limuyuancreate