parameters: (self)
return_statement: return str(self.to_dict())
docstring: Python scope struct array print support.
docstring_summary: Python scope struct array print support.
docstring_tokens: Python scope struct array print support .
function: def __str__(self):
          """Python scope struct array print support."""
          if impl.inside_kernel():
              item_str = ", ".join(
                  [str(k) + "=" + str(v) for k, v in self.items])
              return f'<ti.Struct {item_str}>'
          return str(self.to_dict())
function_tokens: def __str__ ( self ) : if impl . inside_kernel ( ) : item_str = ", " . join ( [ str ( k ) + "=" + str ( v ) for k , v in self . items ] ) return f'<ti.Struct {item_str}>' return str ( self . to_dict ( ) )