I\'m writing a Python object in C with a set of setters and getters. I want to limit the type of the variable accessed through the setters/getters, and raise a TypeError if the