class_docstr: Abstract base class for commands that mess with config files
class_docstr_tok: ["Abstract","base","class","for","commands","that","mess","with","config","files"]
code: def finalize_options(self):
      filenames = []
      if self.global_config:
          filenames.append(config_file("global"))
      if self.user_config:
          filenames.append(config_file("user"))
      if self.filename is not None:
          filenames.append(self.filename)
      if not filenames:
          filenames.append(config_file("local"))
      if len(filenames) > 1:
          raise DistutilsOptionError(
              "Must specify only one configuration file option",
              filenames,
          )
      (self.filename,) = filenames
  
file_path: catboost/contrib/python/setuptools/py2/setuptools/command/setopt.py
imports: from distutils.util import convert_path
  from distutils import log
  from distutils.errors import DistutilsOptionError
  import distutils
  import os
  from setuptools.extern.six.moves import configparser
  from setuptools import Command
label_desc: Use image node_id 2 for calling the option_base obj's underlying member method code with example usage: obj.finalize_options() without return types