code: def show_versions(github=False):
      """Print debugging information.
  
      .. versionadded:: 0.5
  
      Parameters
      ----------
      github : bool,
          If true, wrap system info with GitHub markup.
      """
  
      from sklearn.utils._show_versions import _get_sys_info
  
      _sys_info = _get_sys_info()
      _deps_info = _get_deps_info()
      _github_markup = (
          "<details>"
          "<summary>System, Dependency Information</summary>\n\n"
          "**System Information**\n\n"
          "{0}\n"
          "**Python Dependencies**\n\n"
          "{1}\n"
          "</details>"
      )
  
      if github:
          _sys_markup = ""
          _deps_markup = ""
  
          for k, stat in _sys_info.items():
              _sys_markup += f"* {k:<10}: `{stat}`\n"
          for k, stat in _deps_info.items():
              _deps_markup += f"* {k:<10}: `{stat}`\n"
  
          print(_github_markup.format(_sys_markup, _deps_markup))
  
      else:
          print("\nSystem:")
          for k, stat in _sys_info.items():
              print(f"{k:>11}: {stat}")
  
          print("\nPython dependencies:")
          for k, stat in _deps_info.items():
              print(f"{k:>11}: {stat}")
  
label_desc: Use image node_id 2 for calling a global function with example usage: show_versions(github) without return types