original_docstring: 
          Return a finalizer function that will release references to
          related compiled functions.
          
docstring: Return a finalizer function that will release references to
  related compiled functions.
docstring_tokens: Return a finalizer function that will release references to related compiled functions .
code: def _make_finalizer(self):
          """
          Return a finalizer function that will release references to
          related compiled functions.
          """
          overloads = self.overloads
          targetctx = self.targetctx
  
          # Early-bind utils.shutting_down() into the function's local namespace
          # (see issue #689)
          def finalizer(shutting_down=utils.shutting_down):
              # The finalizer may crash at shutdown, skip it (resources
              # will be cleared by the process exiting, anyway).
              if shutting_down():
                  return
              # This function must *not* hold any reference to self:
              # we take care to bind the necessary objects in the closure.
              for cres in overloads.values():
                  try:
                      targetctx.remove_user_function(cres.entry_point)
                  except KeyError:
                      pass
  
          return finalizer
code_tokens: def _make_finalizer ( self ) : overloads = self . overloads targetctx = self . targetctx def finalizer ( shutting_down = utils . shutting_down ) : if shutting_down ( ) : return for cres in overloads . values ( ) : try : targetctx . remove_user_function ( cres . entry_point ) except KeyError : pass return finalizer
short_docstring: Return a finalizer function that will release references to
  related compiled functions.
short_docstring_tokens: Return a finalizer function that will release references to related compiled functions .
comment: """
          Return a finalizer function that will release references to
          related compiled functions.
          """$SEP$# Early-bind utils.shutting_down() into the function's local namespace$SEP$# (see issue #689)$SEP$# The finalizer may crash at shutdown, skip it (resources$SEP$# will be cleared by the process exiting, anyway).$SEP$# This function must *not* hold any reference to self:$SEP$# we take care to bind the necessary objects in the closure.