On 01/02/2014 04:48 PM, eryksun wrote:
On Thu, Jan 2, 2014 at 5:12 AM, spir <[email protected]> wrote:

Am I missing something or don't classes know how they're called (unlike
funcs, which have a __name__ attribute, very practicle)? Is there a way to
get it otherwise?

What are you smoking, and where can I get some? ;)

I hadn't this morminig ;-)
Must be getting along with wonderful people these times, makes similar effects on mood, without side-effects (as fonctional programmers say ;-) ...

Actually, I think I understand the source of your confusion. `dir`
doesn't show attributes from the metaclass because that would be too
confusing.

That's it, exactly! (see other replies)

_______________________________________________
Tutor maillist  -  [email protected]
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to