def _write_format_thread_loop(self): with self.profiling_context("%s-format-thread" % protocol_class.TYPE): Protocol._write_format_thread_loop(self)