Esempio n. 1
0
File: utils.py Progetto: roytu/miasm
 def str_protected_child(self, child, parent):
     return ("(%s)" %
             self.from_expr(child)) if m2_expr.should_parenthesize_child(
                 child, parent) else self.from_expr(child)
Esempio n. 2
0
 def str_protected_child(self, child, parent):
     return ("(%s)" % (
         self.from_expr(child)) if m2_expr.should_parenthesize_child(child, parent)
             else self.from_expr(child)
     )