'Constructor.
Args:
key: The Parameter key, must be either an integer or a string.'

def __init__(self, key):

    if (not isinstance(key, (int, long, basestring))):
        raise TypeError(('Parameter    key    must    be    an    integer    or    string,    not    %s' % (key,)))
    self.__key = key
