瀏覽代碼

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

tags/v1.0^2
Ben Kurtovic 10 年之前
父節點
當前提交
4100107e93
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      bitshift/query/nodes.py

+ 1
- 1
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


Loading…
取消
儲存