code: def update_readme(old_version, new_version):
      """Update README."""
      pep_440_str = new_version.pep_440_str
      replace_string_in_line(
          r"%s\.%s\.([[:alnum:]]+)-"
          % (old_version.major, old_version.minor),
          "%s-" % pep_440_str,
          README_MD,
      )
  
imports: import argparse
  import os
  import re
  import subprocess
  import time
label_desc: Use image node_id 7 for calling a global function with example usage: update_readme(old_version, new_version) without return types