Ñò
Ç
Wc @ s d Z d d k l Z d d k Z d d k Z d d k Z d d k Z d d k Z d d k Z d Z e i
d j o d d k l Z d „ Z n d e
f d „ ƒ YZ d
„ Z e i d d ƒ Z d
„ Z e i d ƒ Z d e
f d „ ƒ YZ d „ Z d d „ Z y d d k l Z Wn# e j
o d d k l Z n Xd e f d „ ƒ YZ e e i ƒ Z e e i ƒ Z e d j o! e i! o d „ Z e e _ n? e d j o e i! o n$ e d j o d „ Z e e _ n e e ƒ Z" d „ Z# d „ Z$ d S( sT
Decorator module, see http://pypi.python.org/pypi/decorator
for the documentation.
iÿÿÿÿ( t print_functionNs 4.0.9t 3( t getfullargspecc C s | i S( N( t __init__( t cls( ( s, /tmp/pip-build-9QnJ0R/decorator/decorator.pyt get_init0 s R c B s) e Z d Z d „ Z d „ Z e i Z RS( s? A quick and dirty replacement for getfullargspec for Python 2.Xc C s= t i | ƒ \ | _ | _ | _ | _ g | _ d | _ d S( N( t inspectt
getargspect argst varargst varkwt defaultst
kwonlyargst Nonet kwonlydefaults( t selft f( ( s, /tmp/pip-build-9QnJ0R/decorator/decorator.pyR 5 s ' c c s$ | i V| i V| i V| i Vd S( N( R R R
R ( R ( ( s, /tmp/pip-build-9QnJ0R/decorator/decorator.pyt __iter__; s ( t __name__t
__module__t __doc__R R R R ( ( ( s, /tmp/pip-build-9QnJ0R/decorator/decorator.pyR 3 s c C s
| i i S( N( R t __func__( R ( ( s, /tmp/pip-build-9QnJ0R/decorator/decorator.pyR C s t ArgSpecs args varargs varkw defaultsc C s+ t | ƒ } t | i | i | i | i ƒ S( s$ A replacement for inspect.getargspec( R R R R R
R ( R t spec( ( s, /tmp/pip-build-9QnJ0R/decorator/decorator.pyR K s s \s*def\s*([_\w][_\w\d]*)\s*\(t
FunctionMakerc B sk e Z d Z e i ƒ Z d d d d d d d d „ Z d „ Z d e d „ Z
e d d d e d „ ƒ Z
RS( s´
An object with the ability to create functions with a given signature.
It has attributes name, doc, module, signature, defaults, dict and
methods update and make.
c C sù | | _ | o,| i | _ | i d j o
d | _ n | i | _ | i | _ t i | ƒ o×t | ƒ } t
| d h ƒ | _ x' d D] } t | | t
| | ƒ ƒ q‰ Wx1 t
| i ƒ D] \ }
} t | d
|
| ƒ q¼ Wt i d j o- t i d d
„ | Œ d d !| _ | _ nt | i ƒ } t | i ƒ }
| i o, | i d | i ƒ |
i d | i ƒ n | i o | i d ƒ n x9 | i D]. } | i d | ƒ |
i d | | f ƒ q–W| i o, | i d | i ƒ |
i d | i ƒ n d i | ƒ | _ d i |
ƒ | _ | i i ƒ | _ q<n | o
| | _ n | d j o
| | _ n | o
| | _ n | o
| | _ n | o
| | _ n | o
| | _ n t | d ƒ p t ‚ t | d ƒ p t d | ƒ ‚ n d S( Ns