code: def visit_yieldfrom(self, node):
          
          yi_val = (" " + node.value.accept(self)) if node.value else ""
          expr = "yield from" + yi_val
          if node.parent.is_statement:
              return expr
  
          return "(%s)" % (expr,)
docs: Return an astroid.YieldFrom node as string.