G
Graeme Matthew
Hi all, quick one,
I hope I am explaining this properly, I am wanting to do some introspection
on custom object instances, for example:
import md5<type 'md5.md5'>
I can at least test here by doing something like if type(m) == 'md5.md5':
Here is a custom Dispatcher class that I have written
<type 'instance'>
How do I get the same as with instance 'm' above where the type displays the
actual object instance name, however my
custom dispatcher instance is just a generic 'instance', is there some
builtin where this is set ?
many thanks
Graeme
I hope I am explaining this properly, I am wanting to do some introspection
on custom object instances, for example:
import md5<type 'md5.md5'>
I can at least test here by doing something like if type(m) == 'md5.md5':
Here is a custom Dispatcher class that I have written
<type 'instance'>
How do I get the same as with instance 'm' above where the type displays the
actual object instance name, however my
custom dispatcher instance is just a generic 'instance', is there some
builtin where this is set ?
many thanks
Graeme