code: def finalize_options(self):
      if self.manifest is None:
          self.manifest = "MANIFEST"
      if self.template is None:
          self.template = "MANIFEST.in"
  
      self.ensure_string_list("formats")
  
      bad_format = archive_util.check_archive_formats(self.formats)
      if bad_format:
          raise DistutilsOptionError(
              "unknown archive format '%s'" % bad_format
          )
  
      if self.dist_dir is None:
          self.dist_dir = "dist"
  
imports: import os
  import sys
  from glob import glob
  from warnings import warn
  from distutils.core import Command
  from distutils import dir_util
  from distutils import file_util
  from distutils import archive_util
  from distutils.text_file import TextFile
  from distutils.filelist import FileList
  from distutils import log
  from distutils.util import convert_path
  from distutils.errors import DistutilsTemplateError, DistutilsOptionError
label_desc: Use image node_id 3 for calling the sdist obj's underlying member method code with example usage: obj.finalize_options() without return types