code: def arch_to_personality(arch):
      
      if isinstance(arch, bytes):
          arch = unicode(arch)
      return _lxc.arch_to_personality(arch)
docs: Determine the process personality corresponding to the architecture