class_docstr: Save command-line options to a file
class_docstr_tok: ["Save","command-line","options","to","a","file"]
code: def finalize_options(self):
      option_base.finalize_options(self)
      if self.command is None or self.option is None:
          raise DistutilsOptionError(
              "Must specify --command *and* --option"
          )
      if self.set_value is None and not self.remove:
          raise DistutilsOptionError(
              "Must specify --set-value or --remove"
          )
  
file_path: catboost/contrib/python/setuptools/py3/setuptools/command/setopt.py
imports: from distutils.util import convert_path
  from distutils import log
  from distutils.errors import DistutilsOptionError
  import distutils
  import os
  import configparser
  from setuptools import Command
label_desc: Use image node_id 2 for calling the setopt obj's underlying member method code with example usage: obj.finalize_options() without return types