Inheritance and name clashes

Steve Howell showell30 at yahoo.com
Sun Oct 3 19:06:16 EDT 2010


On Oct 3, 3:57 pm, Gregory Ewing <greg.ew... at canterbury.ac.nz> wrote:
> Rock wrote:
> > What if the
> > library I'm using doesn't realase the source, or what if I just can't
> > get my hands on it for some reason or another?
>
> You can always use dir() on an instance of the class to
> find out what names it's using.
>

Indeed but the OP should be aware that dir() only reflects the current
state of the object.




More information about the Python-list mailing list