parameters: (self)
docstring: Writes out and forgets all headers accumulated so far.
  
          This is useful if you don't need a body part at all; for example,
          for a subpart of type message/rfc822 that's (mis)used to store some
          header-like information.
docstring_summary: Writes out and forgets all headers accumulated so far.
docstring_tokens: Writes out and forgets all headers accumulated so far .
function: def flushheaders(self):
          """Writes out and forgets all headers accumulated so far.
  
          This is useful if you don't need a body part at all; for example,
          for a subpart of type message/rfc822 that's (mis)used to store some
          header-like information.
  
          """
          self._fp.writelines(self._headers)
          self._headers = []
function_tokens: def flushheaders ( self ) : self . _fp . writelines ( self . _headers ) self . _headers = [ ]