code: def _precedence_parens(self, node, child, is_left=True):
          
          if self._should_wrap(node, child, is_left):
              return "(%s)" % child.accept(self)
  
          return child.accept(self)
docs: Wrap child in parens only if required to keep same semantics