Skip to content
Merged
Prev Previous commit
Next Next commit
add docs
  • Loading branch information
beckydvn committed Sep 19, 2021
commit 56037e076f57ec64d7877bbccc51c5d8982b0653
3 changes: 2 additions & 1 deletion nnf/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ def __or__(self: T_NNF, other: U_NNF) -> 'Or[t.Union[T_NNF, U_NNF]]':
"""Or({self, other})"""
return Or({self, other})

def __rshift__(self: T_NNF, other: U_NNF):
def __rshift__(self: T_NNF, other: U_NNF)-> 'Or[t.Union[T_NNF.negate(), U_NNF]]':
Comment thread
beckydvn marked this conversation as resolved.
Outdated
"""Or({self.negate(), other})"""
return Or({self.negate(), other})

def walk(self) -> t.Iterator['NNF']:
Expand Down