浏览代码

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


正在加载...
取消
保存