[Python-Dev] dir (was: yield without future statement?)

Greg Ewing greg@cosc.canterbury.ac.nz
Tue, 14 Aug 2001 12:18:32 +1200 (NZST)


> If I execute "dirall(gtk.GtkRadioButton())" I get a list with 175
> entries.

Seems to me that, for interactive use, it would be better to
have a function that formats its output into categories, so
you can see which are instance attributes and which are class
attributes, and which superclass they come from.

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg@cosc.canterbury.ac.nz	   +--------------------------------------+