Re@s+dZdgZddZddZdS)z requests.hooks ~~~~~~~~~~~~~~ This module provides the capabilities for the Requests hooks system. Available hooks: ``response``: The response generated from a Request. responsecCsddtDS)NcSsi|]}g|qSr).0eventrr/builddir/build/BUILDROOT/alt-python35-pip-20.2.4-5.el8.x86_64/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/requests/hooks.py s z!default_hooks..)HOOKSrrrr default_hookssrcKso|p i}|j|}|rkt|dr9|g}x/|D]'}|||}|dk r@|}q@W|S)z6Dispatches a hook dictionary on a given piece of data.__call__N)gethasattr)keyhooks hook_datakwargshook _hook_datarrr dispatch_hooks     rN)__doc__rrrrrrr s