code: def install(verbose=True,
              verbose_destination=sys.__stderr__.fileno() if hasattr(sys.__stderr__, 'fileno') else sys.__stderr__,
              strict=True,
              **kwargs):
      global _MANHOLE
      with _LOCK:
          if _MANHOLE is None:
              _MANHOLE = Manhole()
          else:
              if strict:
                  raise AlreadyInstalled("Manhole already installed!")
              else:
                  _LOG.release()
                  _MANHOLE.release()
      _LOG.configure(verbose, verbose_destination)
      _MANHOLE.configure(**kwargs)
      return _MANHOLE