def _GetActualName(name):
 if _allowCapitalizedNames:
  name = UncapitalizeVmodlName(name)
 for defMap in (_dataDefMap, _managedDefMap, _enumDefMap):
  dic = defMap.get(name)
  if dic:
   return dic[0]
 return None

def _GetActualName ( name ) : if _allowCapitalizedNames : name = UncapitalizeVmodlName ( name ) for defMap in ( _dataDefMap , _managedDefMap , _enumDefMap ) : dic = defMap . get ( name ) if dic : return dic [ 0 ] return None
note: must be holding the _lazylock .