PROPOSAL: [].__doc__, "".__doc__, ...
Gerrit Holl
gerrit.holl at pobox.com
Tue Feb 22 14:52:00 EST 2000
More information about the Python-list mailing list
Tue Feb 22 14:52:00 EST 2000
- Previous message (by thread): where can i get python? any tips? a
- Next message (by thread): PROPOSAL: [].__doc__, "".__doc__, ...
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
<quote name="François Pinard" date="951154699"> > Gerrit Holl <gerrit.holl at pobox.com> writes: > > > I think it would be a nice feature for all types with methods to have > > docstrings describing the methods, so [].__doc__ would be a string with > > the descripion of .index, .append... etc. > > It already works, at least partly: > > >>> print [].append.__doc__ > L.append(object) -- append object to end I know. > Still, `print [].__doc__' raises an exception. I know. That's what I mean :) regards, Gerrit. -- Comparison Python GUI's: http://www.nl.linux.org/~gerrit/gui.html Please comment!
- Previous message (by thread): where can i get python? any tips? a
- Next message (by thread): PROPOSAL: [].__doc__, "".__doc__, ...
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list