[issue9391] Allow docstrings on dicts and named tuples outside of functions or classes.

Alexander Belopolsky report at bugs.python.org
Tue Jul 27 20:35:18 CEST 2010

Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:

-1 on dicts

You can simply subclass from dict to add docs.

I think you can add docs to named tuples even without subclassing, but I need to check.

nosy: +belopolsky
versions:  -Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python 3.3

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list