Browse Source

Change UnaryOp.NOT to work with BinaryOp.{OR,AND}

tags/v1.0^2
Ben Kurtovic 10 years ago
parent
commit
4100107e93
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      bitshift/query/nodes.py

+ 1
- 1
bitshift/query/nodes.py View File

@@ -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


Loading…
Cancel
Save