pymel.core.language.getMelGlobal

getMelGlobal(type, variable)