class_docstr: Smart sdist that finds anything supported by revision control
class_docstr_tok: ["Smart","sdist","that","finds","anything","supported","by","revision","control"]
code: def _add_defaults_build_sub_commands(self):
      build = self.get_finalized_command("build")
      missing_cmds = (
          set(build.get_sub_commands()) - _ORIGINAL_SUBCOMMANDS
      )
      # ^-- the original built-in sub-commands are already handled by default.
      cmds = (self.get_finalized_command(c) for c in missing_cmds)
      files = (
          c.get_source_files()
          for c in cmds
          if hasattr(c, "get_source_files")
      )
      self.filelist.extend(chain.from_iterable(files))
  
imports: from distutils import log
  import distutils.command.sdist
  import os
  import sys
  import contextlib
  from itertools import chain
  from .._importlib import metadata
  from .build import _ORIGINAL_SUBCOMMANDS
label_desc: Use image node_id 9 for calling the sdist obj's underlying member method code with example usage: obj._add_defaults_build_sub_commands() without return types