code: def show(caps):
      print("Mailcap files:")
      for fn in listmailcapfiles():
          print("\t" + fn)
      print()
      if not caps:
          caps = getcaps()
      print("Mailcap entries:")
      print()
      ckeys = sorted(caps)
      for type in ckeys:
          print(type)
          entries = caps[type]
          for e in entries:
              keys = sorted(e)
              for k in keys:
                  print("  %-15s" % k, e[k])
              print()
  
file_path: catboost/contrib/tools/python3/src/Lib/mailcap.py
imports: import os
  import warnings
  import re
label_desc: Use image node_id 13 for calling a global function with example usage: show(caps) without return types