Georg Brandl added the comment:
The patch only amends TextDoc -- what about HtmlDoc?
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1715
__
___
Python-bugs-list mailing list
Antoine Pitrou added the comment:
Actually, HtmlDoc already lists all module members in the inspected
module (regardless of whether they are modules imported from outside or
submodules defined inline). You can try it with the updated pydocfodder:
import pydoc
from test import pydocfodder
Georg Brandl added the comment:
Well, I believe you. :)
Committed r60178.
--
resolution: - accepted
status: open - closed
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1715
__
Antoine Pitrou added the comment:
This should be a better patch, although it only applies to the text
formatter of pydoc, not the HTML one (I'm too lazy for this :-)).
--
nosy: +pitrou
Added file: http://bugs.python.org/file9246/pydocsubmodules.patch
__
Georg Brandl added the comment:
This patch duplicates entries for package contents and submodules;
this is not good. (E.g. for help(email):
NAME
email - A package for parsing, handling, and generating email messages.
FILE
/home/gbr/devel/python/Lib/email/__init__.py
PACKAGE CONTENTS
Changes by Christian Heimes:
--
assignee: - georg.brandl
keywords: +patch
nosy: +georg.brandl
priority: - normal
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1715
__
New submission from Gustavo J. A. M. Carneiro:
Often python extension modules define submodules like this:
static PyObject *
initfoo_xpto(void)
{
PyObject *m;
m = Py_InitModule3(foo.xpto, foo_xpto_functions, NULL);
[...]
return m;
}
PyMODINIT_FUNC
initfoo(void)
{
PyObject