code: def escape(s: str) -> "NoHtml":
      r"""Return ``s`` as literal disabling special meaning of backslashes and ``'<...>'``.
  
      see also https://www.graphviz.org/doc/info/attrs.html#k:escString
  
      Args:
          s: String in which backslashes and ``'<...>'`` should be treated as literal.
  
      Returns:
          Escaped string subclass instance.
  
      Raises:
          TypeError: If ``s`` is not a ``str`` on Python 3, or a ``str``/``unicode`` on Python 2.
  
      Example:
          >>> import graphviz
          >>> print(graphviz.escape(r'\l'))
          \\l
      """
      return nohtml(s.replace("\\", "\\\\"))
  
file_path: catboost/contrib/python/graphviz/py3/graphviz/lang.py
imports: import functools
  import re
  import typing
  from .None import tools
label_desc: Use image node_id 5 for calling a global function with example usage: escape(s) and returns: nohtml