def empty(self):

		'''
		Method to empty attributes, particularly for use when
		object is deleted but remains as variable
		'''

		self.resource = None
		self.delivery = None
		self.data = None
		self.stream = False
		self.mimetype = None
		self.location = None
def empty ( self ) : self . resource = None self . delivery = None self . data = None self . stream = False self . mimetype = None self . location = None
Method to empty attributes, particularly for use when
		object is deleted but remains as variable