~bi*dZddlmZmZdZdZdZy)z Python introspection helpers. )CodeType FunctionTypec ttdr7|jd i|jDcic] \}}d|z| c}}Sgd}ttdr|j ddttdr|j dd|Dcgc]!}|j |t |d|z#}}t|Scc}}wcc}w) Nreplaceco_)argcountnlocals stacksizeflagscodeconstsnamesvarnamesfilenamename firstlinenolnotabfreevarscellvarsco_kwonlyargcountkwonlyargcountco_posonlyargcountposonlyargcount)hasattrr ritemsinsertgetgetattr)templatechangeskvrrvaluess 8/usr/lib/python3/dist-packages/automat/_introspection.pycopycoder'stYxNW]]_"MTQ519q="MNN E t() Q()t)* Q)*   D'(EDL9:F =#Ns C&C c gd}|Dcgc]$}|j|t|d|zdz&}}tt|j|g|Scc}w)N)globalsrdefaultsclosure__)rr functionr'__code__)r! funcchanges codechangesrrr%s r& copyfunctionr1sg E   ght d0BCDF HX.. < Fv FF s)Acfd}|S)zL Preserve the name of the given function on the decorated function. cnt|tjtjS)N)r)r1dict__name__) decoratedfs r& decoratorzpreserveName..decorator+s+I ajj14QZZ3HJ Jr)r7r8s` r& preserveNamer:'sJ r9N) __doc__typesrr rr-r'r1r:rr9r&r=s=(Gr9