def stop(self):
self.stopped = True<EOL>if self.thread != threading.currentThread():<EOL><INDENT>return<EOL><DEDENT>if hasattr(sys, "<STR_LIT>") and self.warn:<EOL><INDENT>if sys.gettrace() != self._trace:<EOL><INDENT>msg = "<STR_LIT>"<EOL>self.warn(msg % (sys.gettrace(),))<EOL><DEDENT><DEDENT>sys.settrace(None)<EOL>
Stop this Tracer.