old_contents: from ._version import get_versions
  
  __version__ = get_versions()["version"]
  del get_versions
  
  from ._version import get_versions
  
  __version__ = get_versions()["version"]
  del get_versions
  
new_contents: from ._version import get_versions
  
  __version__ = get_versions()["version"]
  del get_versions
  
subject: Remove repeated code.