From 4100107e93d6a5089f1343dd5f3ce0b4358a78e9 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Sun, 11 May 2014 01:28:39 -0400 Subject: [PATCH] Change UnaryOp.NOT to work with BinaryOp.{OR,AND} --- bitshift/query/nodes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitshift/query/nodes.py b/bitshift/query/nodes.py index b2e4864..dcf297d 100644 --- a/bitshift/query/nodes.py +++ b/bitshift/query/nodes.py @@ -163,7 +163,7 @@ class BinaryOp(_Node): class UnaryOp(_Node): """Represents a transformation applied to one node: ``not``.""" - NOT = 1 + NOT = 3 def __init__(self, op, node): self.op = op