'Returns the datatype string for the requested language.
Examples
>>> from sympy import Symbol
>>> from sympy.utilities.codegen import Variable
>>> x = Variable(Symbol(\'x\'))
>>> x.get_datatype(\'c\')
\'double\'
>>> x.get_datatype(\'fortran\')
\'REAL*8\''

def get_datatype(self, language):

    try:
        return self._datatype[language.upper()]
    except KeyError:
        raise CodeGenError(('Has    datatypes    for    languages:    %s' % ',    '.join(self._datatype)))
