class_docstr: Mix-in providing forward-compatibility for functionality as found in
  distutils on Python 3.7.
  
  Do not edit the code in this class except to update functionality
  as implemented in distutils. Instead, override in the subclass.
class_docstr_tok: ["Mix-in","providing","forward-compatibility","for","functionality","as","found","in","distutils","on","Python","3.7",".","Do","not","edit","the","code","in","this","class","except","to","update","functionality","as","implemented","in","distutils",".","Instead",",","override","in","the","subclass","."]
code: def _add_defaults_python(self):
      # build_py is used to get:
      #  - python modules
      #  - files defined in package_data
      build_py = self.get_finalized_command("build_py")
  
      # getting python files
      if self.distribution.has_pure_modules():
          self.filelist.extend(build_py.get_source_files())
  
      # getting package_data files
      # (computed in build_py.data_files by build_py.finalize_options)
      for pkg, src_dir, build_dir, filenames in build_py.data_files:
          for filename in filenames:
              self.filelist.append(os.path.join(src_dir, filename))
  
file_path: catboost/contrib/python/setuptools/py2/setuptools/command/py36compat.py
imports: import os
  from glob import glob
  from distutils.util import convert_path
  from distutils.command import sdist
  from setuptools.extern.six.moves import filter
label_desc: Use image node_id 5 for calling the sdist_add_defaults obj's underlying member method code with example usage: obj._add_defaults_python() without return types