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.

classification
Title: 'pydoc -w import' report "no Python documentation found for 'import'"
Type: enhancement Stage: resolved
Components: Documentation, Library (Lib) Versions: Python 3.10
process
Status: closed Resolution: duplicate
Dependencies: Superseder: "pydoc -w" causes "no Python documentation found" error when the path is not current directory
View: 11831
Assigned To: docs@python Nosy List: docs@python, iritkatriel, limuyuan, nanjekyejoannah, xtreak
Priority: normal Keywords:

Created on 2017-08-30 02:19 by limuyuan, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (3)
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
msg411594 - (view) Author: Irit Katriel (iritkatriel) * (Python committer) Date: 2022-01-25 14:29
It is still relevant, but there is another issue for this: issue11831.
History
Date User Action Args
2022-04-11 14:58:51adminsetgithub: 75486
2022-01-25 14:29:52iritkatrielsetstatus: open -> closed

superseder: "pydoc -w" causes "no Python documentation found" error when the path is not current directory

nosy: + iritkatriel
messages: + msg411594
resolution: duplicate
stage: resolved
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