Lines Matching defs:partial
14 'partial', 'partialmethod', 'singledispatch', 'singledispatchmethod',
62 # Return the wrapper so this can be used as a decorator via partial()
73 This is a convenience function to simplify applying partial() to
76 return partial(update_wrapper, wrapped=wrapped,
272 ### partial() argument application
276 class partial:
277 """New function with partial application of the given arguments
292 self = super(partial, cls).__new__(cls)
326 raise TypeError("invalid partial state")
342 from _functools import partial
348 """Method descriptor with partial application of the given arguments
361 # so we can't inherit from partial (it verifies func is callable)
401 result = partial(new_func, *self.args, **self.keywords)
422 while isinstance(func, partial):