code: def _disabled_function(name):
      """Make a function that cannot be called."""
  
      # noinspection PyUnusedLocal
      def disabled(*args, **kwargs):
          """Disabled function, DO NOT USE."""
          raise NameError(
              "Function %s is not available in Python 3, and was disabled in Python 2 as well."
              % name
          )
  
      return disabled
  
file_path: h2o-3/h2o-py/h2o/utils/compatibility.py
label_desc: Use image node_id 1 for calling a global function with example usage: _disabled_function(name) and returns: disabled