'Returns the value of this ``ConfigItem``
Returns
val
This item\'s value, with a type determined by the ``cfgtype``
attribute.
Raises
TypeError
If the configuration value as stored is not this item\'s type.'

def __call__(self):

    def section_name(section):
        if (section == u''):
            return u'at    the    top-level'
        else:
            return u'in    section    [{0}]'.format(section)
    options = []
    sec = get_config(self.module)
    if (self.name in sec):
        options.append((sec[self.name], self.module, self.name))
    for alias in self.aliases:
        (module, name) = alias.rsplit(u'.', 1)
        sec = get_config(module)
        if (u'.' in module):
            (filename, module) = module.split(u'.', 1)
        else:
            filename = module
            module = u''
        if (name in sec):
            if (u'.' in self.module):
                new_module = self.module.split(u'.', 1)[1]
            else:
                new_module = u''
            warn(u"Config    parameter    '{0}'    {1}    of    the    file    '{2}'    is    deprecated.    Use    '{3}'    {4}    instead.".format(name, section_name(module), get_config_filename(filename), self.name, section_name(new_module)), AstropyDeprecationWarning)
            options.append((sec[name], module, name))
    if (len(options) == 0):
        self.set(self.defaultvalue)
        options.append((self.defaultvalue, None, None))
    if (len(options) > 1):
        (filename, sec) = self.module.split(u'.', 1)
        warn(u"Config    parameter    '{0}'    {1}    of    the    file    '{2}'    is    given    by    more    than    one    alias    ({3}).    Using    the    first.".format(self.name, section_name(sec), get_config_filename(filename), u',    '.join([u'.'.join(x[1:3]) for x in options if (x[1] is not None)])), AstropyDeprecationWarning)
    val = options[0][0]
    try:
        return self._validate_val(val)
    except validate.ValidateError as e:
        raise TypeError((u'Configuration    value    not    valid:' + e.args[0]))
