about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCamille Mougey <commial@gmail.com>2018-05-15 08:51:24 +0200
committerGitHub <noreply@github.com>2018-05-15 08:51:24 +0200
commit55b0df67343778346751dc2c4e071186705ba68a (patch)
tree51bc25ffa222976f04f39c09d54630f38dc420b1
parentf72b8f272267b65abf075d9d5f729936a83c180d (diff)
parent0df41cb150a85a8e7e150eec1ae2b0c34bf4c614 (diff)
downloadmiasm-55b0df67343778346751dc2c4e071186705ba68a.tar.gz
miasm-55b0df67343778346751dc2c4e071186705ba68a.zip
Merge pull request #739 from serpilliere/fix_ast
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):
     """