Just noticed an odd little problem. Instead of explaining it, take a look at this IDLE run:
>>> ================================ RESTART ================================
>>> class test:
eggs = True
>>> var1 = test()
>>> var2 = "text"
>>> type(var2)
<type 'str'>
>>> type(var2) == str
True
>>> type(var1)
<type 'instance'>
>>> type(var1) == instance
Traceback (most recent call last):
File "<pyshell#49>", line 1, in <module>
type(var1) == instance
NameError: name 'instance' is not defined
What's with that?