(self)
Yields the body of the buffered file.
Yields the body of the buffered file.
Yields the body of the buffered file .
def _body(self) -> gen_bytes_t:
		"""Yields the body of the buffered file."""
		for file, need_close in self.files:
			try:
				try:
					file_location = file.name  # type: ty.Optional[str]
					filename = os.path.basename(file.name)  # type: str
				except AttributeError:
					file_location = None
					filename = ''
				
				yield from self._gen_file(filename, file_location, file)
			finally:
				if need_close:
					file.close()
		
		yield from self._gen_end()
def _body ( self ) -> gen_bytes_t : for file , need_close in self . files : try : try : file_location = file . name # type: ty.Optional[str] filename = os . path . basename ( file . name ) # type: str except AttributeError : file_location = None filename = '' yield from self . _gen_file ( filename , file_location , file ) finally : if need_close : file . close ( ) yield from self . _gen_end ( )