code: def _add_extra_line_before_endbib(lines):
      for i, l in enumerate(lines):
          if l.startswith("\\end{sphinxthebibliography}"):
              break
      lines.insert(i, "")
  
file_path: d2l-en/static/post_latex/main.py
imports: import os
  import re
  import regex
  import sys
label_desc: Use image node_id 12 for calling a global function with example usage: _add_extra_line_before_endbib(lines) without return types