RegVddlZddlZejrddlZdeddfdZGddZdS)Nsecondsreturnc.tj|dS)z Sleep strategy that delays execution for a given number of seconds. This is the default strategy, and may be mocked out for unit testing. N)timesleep)rs /builddir/build/BUILDROOT/alt-python311-pip-21.3.1-3.el8.x86_64/opt/alt/python311/lib/python3.11/site-packages/pip/_vendor/tenacity/nap.pyrrs  Jwc@eZdZdZd dZdejeddfdZdS) sleep_using_eventz0Sleep strategy that waits on an event to be set.eventthreading.EventrNc||_dS)N)r )selfr s r__init__zsleep_using_event.__init__%s  r timeoutc<|j|dS)N)r)r wait)rrs r__call__zsleep_using_event.__call__(s  (((((r )r r rN) __name__ __module__ __qualname____doc__rtypingOptionalfloatrr rr r "sW::) 6)4))))))r r )rr TYPE_CHECKING threadingrrr rr rrs$  5T ) ) ) ) ) ) ) ) ) )r