Lines Matching refs:kwds
322 func, args, kwds, namespace = state
324 (kwds is not None and not isinstance(kwds, dict)) or
329 if kwds is None:
330 kwds = {}
331 elif type(kwds) is not dict: # XXX does it need to be *exactly* dict?
332 kwds = dict(kwds)
339 self.keywords = kwds
448 def _make_key(args, kwds, typed,
462 # All of code below relies on kwds preserving the order input by the user.
463 # Formerly, we sorted() the kwds before looping. The new way is *much*
467 if kwds:
469 for item in kwds.items():
473 if kwds:
474 key += tuple(type(v) for v in kwds.values())
542 def wrapper(*args, **kwds):
546 result = user_function(*args, **kwds)
551 def wrapper(*args, **kwds):
554 key = make_key(args, kwds, typed)
560 result = user_function(*args, **kwds)
566 def wrapper(*args, **kwds):
569 key = make_key(args, kwds, typed)
584 result = user_function(*args, **kwds)