code: def _escape_argspec(obj, iterable, escape):
      """Helper for various string-wrapped functions."""
      for key, value in iterable:
          if hasattr(value, "__html__") or isinstance(
              value, string_types
          ):
              obj[key] = escape(value)
      return obj
  
imports: import re
  import string
  from ._compat import int_types
  from ._compat import iteritems
  from ._compat import Mapping
  from ._compat import PY2
  from ._compat import string_types
  from ._compat import text_type
  from ._compat import unichr
label_desc: Use image node_id 1 for calling a global function with example usage: _escape_argspec(obj, iterable, escape) and returns: obj