I have the class sprite with the inner class type.
class sprite:
    class type:
        ThisValue = 10
        OtherValue = 22
    def __init__(self, type = sprite.type.ThisValue):
        self.type = type
When I try this, it says that the name sprite is not defined; the error throws on the def __init__() line. How can I access ThisValue in the function definition? Is there a better way to write the type class?
 
    