class_docstr: Class to collect timing tasks.
class_docstr_tok: ["Class","to","collect","timing","tasks","."]
docstr: Stop a given task
docstr_tok: ["Stop","a","given","task"]
code: def stop(self, name: str) -> None:
      """Stop a given task"""
      if name in self.tasks:
          self.tasks[name].stop()
      else:
          sys.stderr.write(f"No task with name {name}")
  
imports: from __future__ import annotations
  from typing import Iterator, Mapping, Optional, Tuple
  import sys
  import time
  from contextlib import contextmanager
  from itertools import repeat
  from typing_extensions import Literal
label_desc: Use image node_id 7 for calling the StopWatch obj's underlying member method code with example usage: obj.stop(name) without return types