%PDF- %PDF-
Direktori : /lib/python2.7/site-packages/salt/utils/decorators/ |
Current File : //lib/python2.7/site-packages/salt/utils/decorators/signature.pyc |
� ���^c @@ sg d Z d d l m Z m Z m Z d d l Z d d l m Z d d l Z d d l m Z d � Z d S( uf A decorator which returns a function with the same signature of the function which is being wrapped. i ( t absolute_importt print_functiont unicode_literalsN( t wraps( t sixc C@ s� i | d 6} t d j | j t j t j j j | � � d d !t j d d � t j j j | � � d d !� d d � } t j | | � t | � | | j � S( u} Return a function with identical signature as ``original_function``'s which will call the ``wrapped_function``. u __wrapped__u) def {0}({1}): return __wrapped__({2})i i����t formatvaluec S@ s d S( Nu ( ( t val( ( sC /usr/lib/python2.7/site-packages/salt/utils/decorators/signature.pyt <lambda># s u <string>u exec( t compilet formatt __name__t inspectt formatargspect saltt utilst argst get_function_argspecR t exec_R ( t original_functiont wrapped_functiont contextt function_def( ( sC /usr/lib/python2.7/site-packages/salt/utils/decorators/signature.pyt identical_signature_wrapper s ( t __doc__t __future__R R R R t functoolsR t salt.utils.argsR t salt.extR R ( ( ( sC /usr/lib/python2.7/site-packages/salt/utils/decorators/signature.pyt <module> s