classification
Title: 'pydoc -w import' report "no Python documentation found for 'import'"
Type: enhancement Stage:
Components: Documentation, Library (Lib) Versions: Python 3.10
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: docs@python Nosy List: docs@python, limuyuan, nanjekyejoannah, xtreak
Priority: normal Keywords:

Created on 2017-08-30 02:19 by limuyuan, last changed 2020-07-05 21:35 by serhiy.storchaka.

Messages (2)
msg325333 - (view) Author: Karthikeyan Singaravelan (xtreak) * (Python committer) 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?

Thanks
msg373042 - (view) Author: Joannah Nanjekye (nanjekyejoannah) * (Python committer) Date: 2020-07-05 20:09
Given EOL is this still relevant? as it is marked 2.7
History
Date User Action Args
2020-07-05 21:35:37serhiy.storchakasettype: behavior -> enhancement
components: + Library (Lib)
versions: + Python 3.10, - Python 2.7, Python 3.5
2020-07-05 20:09:02nanjekyejoannahsetnosy: + nanjekyejoannah
messages: + msg373042
2018-09-14 08:14:30xtreaksetnosy: + xtreak
messages: + msg325333
2017-08-30 02:22:41limuyuansetversions: + Python 3.5
2017-08-30 02:19:09limuyuancreate