about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorFabrice Desclaux <fabrice.desclaux@cea.fr>2018-05-15 07:59:38 +0200
committerFabrice Desclaux <fabrice.desclaux@cea.fr>2018-05-15 08:01:20 +0200
commit0df41cb150a85a8e7e150eec1ae2b0c34bf4c614 (patch)
tree51bc25ffa222976f04f39c09d54630f38dc420b1
parentf72b8f272267b65abf075d9d5f729936a83c180d (diff)
downloadmiasm-0df41cb150a85a8e7e150eec1ae2b0c34bf4c614.tar.gz
miasm-0df41cb150a85a8e7e150eec1ae2b0c34bf4c614.zip
AsmAst: fix dup method
-rw-r--r--miasm2/core/asm_ast.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/miasm2/core/asm_ast.py b/miasm2/core/asm_ast.py
index 7a365ba1..3b06ce62 100644
--- a/miasm2/core/asm_ast.py
+++ b/miasm2/core/asm_ast.py
@@ -39,9 +39,6 @@ class AstNode(object):
     def __and__(self, other):
         return AstOp('&', self, other)
 
-    def __neg__(self):
-        return AstOp('-', self)
-
 
 class AstInt(AstNode):
     """