code: def _cythonize(self, module_name, code, lib_dir, args, quiet=True):
      pyx_file = os.path.join(lib_dir, module_name + ".pyx")
      pyx_file = encode_fs(pyx_file)
  
      c_include_dirs = args.include
      c_src_files = list(map(str, args.src))
      if "numpy" in code:
          import numpy
  
          c_include_dirs.append(numpy.get_include())
      with io.open(pyx_file, "w", encoding="utf-8") as f:
          f.write(code)
      extension = Extension(
          name=module_name,
          sources=[pyx_file] + c_src_files,
          include_dirs=c_include_dirs,
          library_dirs=args.library_dirs,
          extra_compile_args=args.compile_args,
          extra_link_args=args.link_args,
          libraries=args.lib,
          language="c++" if args.cplus else "c",
      )
      try:
          opts = dict(
              quiet=quiet,
              annotate=args.annotate,
              force=True,
          )
          if args.language_level is not None:
              assert args.language_level in (2, 3)
              opts["language_level"] = args.language_level
          elif sys.version_info[0] >= 3:
              opts["language_level"] = 3
          return cythonize([extension], **opts)
      except CompileError:
          return None
  
imports: from __future__ import absolute_import, print_function
  import io
  import os
  import re
  import sys
  import time
  import copy
  import distutils.log
  import textwrap
  from distutils.core import Distribution, Extension
  from distutils.command.build_ext import build_ext
  from IPython.core import display
  from IPython.core import magic_arguments
  from IPython.core.magic import Magics, magics_class, cell_magic
  from IPython.utils.text import dedent
  from ..Shadow import __version__
  from ..Compiler.Errors import CompileError
  from .Inline import cython_inline, load_dynamic
  from .Dependencies import cythonize
label_desc: Use image node_id 7 for calling the CythonMagics obj's underlying member method code with example usage: obj._cythonize(module_name, code, lib_dir, args, quiet) and returns: cythonize, None