I wish I could add docstrings to vars.

Neil Cerutti horpner at yahoo.com
Tue Sep 12 16:06:27 CEST 2006


On 2006-09-12, Matthew Wilson <matt at tplus1.com> wrote:
> I build a lot of elaborate dictionaries in my interpreter, and
> then I forget exactly how they work.  It would be really nice
> to be able to add notes to the dictionary.
>
> Is there some way to do this now?

Writing a thin wrapper around the dictionary might be beneficial,
and would also furnish a place for the docstrings. Actually, the
wrapper would probably prevent you from needing the docstring
very often. ;)

-- 
Neil Cerutti
Eddie Robinson is about one word: winning and losing. --Eddie
Robinson's agent Paul Collier



More information about the Python-list mailing list