[issue31305] 'pydoc -w import' report "no Python documentation found for 'import'"
New submission from Karthikeyan Singaravelan <tir.karthi@gmail.com>:
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 ---------- nosy: +xtreak _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue31305> _______________________________________
Joannah Nanjekye <nanjekyejoannah@gmail.com> added the comment: Given EOL is this still relevant? as it is marked 2.7 ---------- nosy: +nanjekyejoannah _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue31305> _______________________________________
Change by Serhiy Storchaka <storchaka+cpython@gmail.com>: ---------- components: +Library (Lib) type: behavior -> enhancement versions: +Python 3.10 -Python 2.7, Python 3.5 _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue31305> _______________________________________
participants (3)
-
Joannah Nanjekye
-
Karthikeyan Singaravelan
-
Serhiy Storchaka