o ƚRe@s`ddlZddlZejdZdedefddZdedefddZd ejd ej fdefd d Z dS) Npos_numreturncCsT|dkrdS|dkr dS|dkrdS|dkrdSd |kr#d kr$dSt|d S) Nrthstrndrd  find_ordinalrr/builddir/build/BUILDROOT/alt-python310-pip-21.3.1-3.el8.x86_64/opt/alt/python310/lib/python3.10/site-packages/pip/_vendor/tenacity/_utils.pyrs rcCs|t|S)Nrrrrr to_ordinal*srcb.c Csg}z||jWnty%z||jWn ty"YnwYnw|s,t|Sz |jr7|d|jWn tyAYnwd|S)znGet a callback fully-qualified name. If no name can be produced ``repr(cb)`` is called and returned. r.)append __qualname__AttributeError__name__repr __module__insertjoin)rsegmentsrrrget_callback_name.s*    r) systypingmaxsizeMAX_WAITintstrrrCallableAnyrrrrrs  "