code: def make_authors_file_lines(git_people):
      # define new lines for the file
      header = filldedent(
          """
          All people who contributed to SymPy by sending at least a patch or
          more (in the order of the date of their first contribution), except
          those who explicitly didn't want to be mentioned. People with a * next
          to their names are not found in the metadata of the git history. This
          file is generated automatically by running `./bin/authors_update.py`.
          """
      ).lstrip()
      header_extra = "There are a total of %d authors." % len(
          git_people
      )
      lines = header.splitlines()
      lines.append("")
      lines.append(header_extra)
      lines.append("")
      lines.extend(git_people)
      return lines
  
imports: from __future__ import unicode_literals
  from __future__ import print_function
  import sys
  from pathlib import Path
  from subprocess import run, PIPE
  from collections import OrderedDict, defaultdict
  from argparse import ArgumentParser
  import sympy
  from sympy.utilities.misc import filldedent
  from sympy.external.importtools import version_tuple
label_desc: Use image node_id 12 for calling a global function with example usage: make_authors_file_lines(git_people) and returns: lines