def __exit__(self, exc_type, exc_value, exc_traceback):
self.end = self()<EOL>if self.prefix and self.output is None:<EOL><INDENT>self.output = True<EOL><DEDENT>if self.output:<EOL><INDENT>output = "<STR_LIT:U+0020>".join([self.prefix, self.fmt.format(self.elapsed)])<EOL>if callable(self.output):<EOL><INDENT>self.output(output)<EOL><DEDENT>else:<EOL><INDENT>print(output)<EOL><DEDENT><DEDENT>
Set the end time