parameters: (self)
return_statement: return result
docstring: Create a flat copy of the dict.
docstring_summary: Create a flat copy of the dict.
docstring_tokens: Create a flat copy of the dict .
function: def copy(self):
          """Create a flat copy of the dict."""
          missing = object()
          result = object.__new__(self.__class__)
          for name in self.__slots__:
              val = getattr(self, name, missing)
              if val is not missing:
                  setattr(result, name, val)
          return result
function_tokens: def copy ( self ) : missing = object ( ) result = object . __new__ ( self . __class__ ) for name in self . __slots__ : val = getattr ( self , name , missing ) if val is not missing : setattr ( result , name , val ) return result