class_docstr: New function with partial application of the given arguments
  and keywords.
class_docstr_tok: ["New","function","with","partial","application","of","the","given","arguments","and","keywords","."]
code: def __new__(cls, func, /, *args, **keywords):
      if not callable(func):
          raise TypeError("the first argument must be callable")
  
      if hasattr(func, "func"):
          args = func.args + args
          keywords = {**func.keywords, **keywords}
          func = func.func
  
      self = super(partial, cls).__new__(cls)
  
      self.func = func
      self.args = args
      self.keywords = keywords
      return self
  
imports: from abc import get_cache_token
  from collections import namedtuple
  from reprlib import recursive_repr
  from _thread import RLock
label_desc: Use image node_id 1 for calling the partial obj's underlying member method code with example usage: obj.__new__() and returns: self