@classmethod
    def _access(cls, access):
        """Conversion function which returns an integer representing a security access
        bit pattern. Uses the class's ACCESS map to translate letters to integers.
        """
        if access is None:
            return None
        try:
            return int(access)
        except __HOLE__:
            return reduce(operator.or_, (cls.ACCESS[a] for a in access.upper()), 0)
dataset/ETHPy150Open tjguk/winsys/winsys/registry.py/Registry._access