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

Alexander Belopolsky report at bugs.python.org
Tue Jul 27 20:44:17 CEST 2010


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

Indeed, namedtuple auto-generates a doc-string and does not provide a way to customize it.  It sounds reasonable to add a doc argument to namedtuple() function that would control __doc__ of the result.

I am +0 on that.

----------
keywords: +easy

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9391>
_______________________________________


More information about the Python-bugs-list mailing list