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

Anthony Long report at bugs.python.org
Tue Jul 27 20:29:43 CEST 2010


New submission from Anthony Long <antlong at gmail.com>:

I would like to add docstrings to dicts and named tuples. Dicts can be used to hold many different kinds of information, and docstrings would help to shed light on what the dict does to others.

Named tuples also should have docstrings, since they can also include information which can be explained it great detail within docstrings.

----------
components: Interpreter Core
messages: 111711
nosy: antlong
priority: normal
severity: normal
status: open
title: Allow docstrings on dicts and named tuples outside of functions or classes.
type: feature request
versions: Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.3

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


More information about the Python-bugs-list mailing list