This website works better with JavaScript.
Home
Help
Sign In
ben
/
bitshift
mirror of
https://github.com/earwig/bitshift
Watch
1
Star
1
Fork
0
Code
Releases
1
Activity
Browse Source
Change UnaryOp.NOT to work with BinaryOp.{OR,AND}
tags/v1.0^2
Ben Kurtovic
10 years ago
parent
525b49b4b2
commit
4100107e93
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
Write
Preview
Loading…
Cancel
Save