parameters: (d)
return_statement: return out
docstring: removes the __ artifact from class to dict conversion
docstring_summary: removes the __ artifact from class to dict conversion
docstring_tokens: removes the __ artifact from class to dict conversion
function: def format_class_dict(d):
      """
      removes the __ artifact from class to dict conversion
      """
      out = {}
      for k, v in d.items():
          if isinstance(v, dict):
              v = format_class_dict(v)
  
          out_key = k.split('__', 1)[-1]
          out[k.replace(k, out_key)] = v
      return out
function_tokens: def format_class_dict ( d ) : out = { } for k , v in d . items ( ) : if isinstance ( v , dict ) : v = format_class_dict ( v ) out_key = k . split ( '__' , 1 ) [ - 1 ] out [ k . replace ( k , out_key ) ] = v return out