Éric Araujo <mer...@netwok.org> added the comment:

pydoc help:

  pydoc -w <name> ...
    Write out the HTML documentation for a module to a file in the current
    directory. […]

So there is no support for not using the current directory, probably on purpose 
in order to use the current-dir-in-sys.path trick, so I’m not sure if this 
should be addressed.

(These days I would be more worried about src directories, which I’ve just 
tested are not handled well by pydoc, but that would be a different ticket.)

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue11831>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to