code: def delete_text(self,
  	                text,
  	                fname,
  	                pattern=None,
  	                expect=None,
  	                shutit_pexpect_child=None,
  	                note=None,
  	                before=False,
  	                force=False,
  	                line_oriented=True,
  	                loglevel=logging.DEBUG):
  		
  		shutit_global.shutit_global_object.yield_to_draw()
  		return self.change_text(text,
  		                        fname,
  		                        pattern,
  		                        expect,
  		                        shutit_pexpect_child,
  		                        before,
  		                        force,
  		                        note=note,
  		                        delete=True,
  		                        line_oriented=line_oriented,
  		                        loglevel=loglevel)
docs: Delete a chunk of text from a file.
  		See insert_text.