code: def write_team_section(f, authors: list[dict[str, str]]) -> None:
      """Write team section."""
      print(" Updating team section")
      f.write(
          """.. CORE DEV SECTION STARTS HERE
     The Core developers section is added automatically
     and should not be edited manually.
  
  .. _core_devs:
  
  Core developers
  ...............
  
  The nilearn core developers are:
  
  """
      )
  
      write_core_devs(f)
  
      f.write(
          """.. CORE DEV SECTION ENDS HERE
  """
      )
  
      f.write(
          """
  .. OTHER CONTRIBUTION SECTION STARTS HERE
     The Other contributors section is added automatically
     and should not be edited manually.
  
  Other contributors
  ..................
  
  Some other past or present contributors are:
  
  """
      )
      for author_ in authors:
          f.write(
              f"* `{author_['given-names']} {author_['family-names']}`_"
          )
          if author_.get("affiliation"):
              f.write(f": {author_['affiliation']}")
          f.write("\n")
  
      f.write(
          """
  .. OTHER CONTRIBUTION SECTION ENDS HERE
  
  """
      )
  
file_path: nilearn/maint_tools/citation_cff_maint.py
imports: from __future__ import annotations
  from pathlib import Path
  from typing import Any
  import ruamel.yaml
label_desc: Use image node_id 10 for calling a global function with example usage: write_team_section(f, authors) without return types