code: def __get_output_extensions(self):
      yield ".py"
      yield ".pyc"
      if self.get_finalized_command("build_py").optimize:
          yield ".pyo"
  
imports: import os
  import sys
  import itertools
  from distutils.command.build_ext import build_ext
  from distutils.file_util import copy_file
  from distutils.ccompiler import new_compiler
  from distutils.sysconfig import customize_compiler, get_config_var
  from distutils.errors import DistutilsError
  from distutils import log
  from setuptools.extension import Library
  from setuptools.extern import six
  from distutils.sysconfig import _config_vars
label_desc: Use image node_id 12 for calling the build_ext obj's underlying member method code with example usage: obj.__get_output_extensions() without return types