code: def show_code(co, version, file=None):
      
      if file is None:
          print(code_info(co, version))
      else:
          file.write(code_info(co, version) + '\n')
docs: Print details of methods, functions, or code to *file*.
  
      If *file* is not provided, the output is printed on stdout.