Getting the name of an assignment

Adam Atlas adam at atlas.st
Sat Dec 23 22:34:11 EST 2006


Thanks, Steven and Steven.

@Bethard:
Isn't it a bit convoluted to use metaclasses?
someinstance.__class__.__name__ does the same thing.

@D'Aprano:
Thanks for the advice to rethink my data model. I'm doing so right now,
and I've already come up with a way that makes more sense. :)




More information about the Python-list mailing list