Éric Araujo <mer...@netwok.org> added the comment: >From http://docs.python.org/dev/library/doctest#which-docstrings-are-examined :
“The module docstring, and all function, class and method docstrings are searched. Objects imported into the module are not searched. [...] Any classes found are recursively searched similarly, to test docstrings in their contained methods and nested classes.” The doc does not advertise support for nested functions, so this would be a new feature, if deemed useful. ---------- nosy: +eric.araujo type: -> feature request versions: -Python 2.7, Python 3.1, Python 3.2 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12055> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com