Lines Matching refs:args
90 def RLock(*args, **kwargs):
100 return _PyRLock(*args, **kwargs)
101 return _CRLock(*args, **kwargs)
267 def __exit__(self, *args):
268 return self._lock.__exit__(*args)
850 args=(), kwargs=None, *, daemon=None):
862 *args* is a list or tuple of arguments for the target invocation. Defaults to ().
888 self._args = args
970 from the args and kwargs arguments, respectively.
1279 def ExceptHookArgs(args):
1280 return _ExceptHookArgs(*args)
1282 def excepthook(args, /):
1286 if args.exc_type == SystemExit:
1292 elif args.thread is not None:
1293 stderr = args.thread._stderr
1299 # do nothing if sys.stderr is None and args.thread is None
1302 if args.thread is not None:
1303 name = args.thread.name
1308 _print_exception(args.exc_type, args.exc_value, args.exc_traceback,
1340 args = ExceptHookArgs([*sys_exc_info(), thread])
1342 hook(args)
1363 args = None
1373 t = Timer(30.0, f, args=None, kwargs=None)
1379 def __init__(self, interval, function, args=None, kwargs=None):
1383 self.args = args if args is not None else []
1394 self.function(*self.args, **self.kwargs)