original_docstring: 
          will add a lineEnd to the stream if needed.
          Note: Will NOT close the underlying stream.
          
docstring: will add a lineEnd to the stream if needed.
  Note: Will NOT close the underlying stream.
docstring_tokens: will add a lineEnd to the stream if needed . Note : Will NOT close the underlying stream .
code: def close(self):
          '''
          will add a lineEnd to the stream if needed.
          Note: Will NOT close the underlying stream.
          '''
          if self._writtenData and (self._writtenData[-1] != self._lineEnd):
              self.write(self._lineEnd, clearBeforeWrite=False)
code_tokens: def close ( self ) : if self . _writtenData and ( self . _writtenData [ - 1 ] != self . _lineEnd ) : self . write ( self . _lineEnd , clearBeforeWrite = False )
short_docstring: will add a lineEnd to the stream if needed.
short_docstring_tokens: will add a lineEnd to the stream if needed .
comment: '''
          will add a lineEnd to the stream if needed.
          Note: Will NOT close the underlying stream.
          '''