code: def bump_gensim_init_py(root, previous_version, new_version):
      path = os.path.join(root, "gensim", "__init__.py")
      pattern = re.compile(
          "__version__ = '%s'$" % previous_version, re.MULTILINE
      )
      repl = "__version__ = '%s'" % new_version
      bump(path, pattern, repl)
  
imports: import os.path
  import re
  import sys
label_desc: Use image node_id 4 for calling a global function with example usage: bump_gensim_init_py(root, previous_version, new_version) without return types