@classmethod<EOL><INDENT>def from_pair(cls, allow, deny):<DEDENT>
ret = cls()<EOL>for key, value in allow:<EOL><INDENT>if value is True:<EOL><INDENT>setattr(ret, key, True)<EOL><DEDENT><DEDENT>for key, value in deny:<EOL><INDENT>if value is True:<EOL><INDENT>setattr(ret, key, False)<EOL><DEDENT><DEDENT>return ret<EOL>
Creates an overwrite from an allow/deny pair of :class:`Permissions`.