%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/local/lib/python2.7/
Upload File :
Create Path :
Current File : //usr/local/lib/python2.7/functools.pyo

ó
Mêáac@s\dZddlmZmZdZd
Zeed„Zeed„Zd	„Zd
„Z	dS(sEfunctools.py - Tools for working with functions and callable objects
iÿÿÿÿ(tpartialtreducet
__module__t__name__t__doc__t__dict__cCsax'|D]}t||t||ƒƒqWx0|D](}t||ƒjt||iƒƒq1W|S(sUpdate a wrapper function to look like the wrapped function

       wrapper is the function to be updated
       wrapped is the original function
       assigned is a tuple naming the attributes assigned directly
       from the wrapped function to the wrapper function (defaults to
       functools.WRAPPER_ASSIGNMENTS)
       updated is a tuple naming the attributes of the wrapper that
       are updated with the corresponding attribute from the wrapped
       function (defaults to functools.WRAPPER_UPDATES)
    (tsetattrtgetattrtupdate(twrappertwrappedtassignedtupdatedtattr((s%/usr/local/lib/python2.7/functools.pytupdate_wrappers


&cCsttd|d|d|ƒS(s‹Decorator factory to apply update_wrapper() to a wrapper function

       Returns a decorator that invokes update_wrapper() with the decorated
       function as the wrapper argument and the arguments to wraps() as the
       remaining arguments. Default arguments are as for update_wrapper().
       This is a convenience function to simplify applying partial() to
       update_wrapper().
    R
RR(RR(R
RR((s%/usr/local/lib/python2.7/functools.pytwraps'scCsidd„fdd„fdd„fdd„fgd	6dd
„fd	d„fdd„fdd
„fgd6d	d„fdd„fdd„fdd„fgd6dd„fdd„fdd„fd	d„fgd6}tt|ƒƒ}|t|ƒ@}|stdƒ‚nt|ƒ}xU||D]I\}}||kr0||_tt|ƒj|_t|||ƒq0q0W|S(s6Class decorator that fills in missing ordering methodst__gt__cSs||kp||kS(N((tselftother((s%/usr/local/lib/python2.7/functools.pyt<lambda>8tt__le__cSs||kp||kS(N((RR((s%/usr/local/lib/python2.7/functools.pyR9Rt__ne__cSs||kS(N((RR((s%/usr/local/lib/python2.7/functools.pyR:Rt__ge__cSs||kS(N((RR((s%/usr/local/lib/python2.7/functools.pyR;Rt__lt__cSs||kp||kS(N((RR((s%/usr/local/lib/python2.7/functools.pyR<RcSs||ko||kS(N((RR((s%/usr/local/lib/python2.7/functools.pyR=RcSs||kS(N((RR((s%/usr/local/lib/python2.7/functools.pyR>RcSs||kS(N((RR((s%/usr/local/lib/python2.7/functools.pyR?RcSs||kp||kS(N((RR((s%/usr/local/lib/python2.7/functools.pyR@RcSs||kp||kS(N((RR((s%/usr/local/lib/python2.7/functools.pyRARcSs||kS(N((RR((s%/usr/local/lib/python2.7/functools.pyRBRcSs||kS(N((RR((s%/usr/local/lib/python2.7/functools.pyRCRcSs||kp||kS(N((RR((s%/usr/local/lib/python2.7/functools.pyRDRcSs||ko||kS(N((RR((s%/usr/local/lib/python2.7/functools.pyRERcSs||kS(N((RR((s%/usr/local/lib/python2.7/functools.pyRFRcSs||kS(N((RR((s%/usr/local/lib/python2.7/functools.pyRGRs6must define at least one ordering operation: < > <= >=(	tsettdirt
ValueErrortmaxRRtintRR(tclstconverttdefined_methodstrootstroottopnametopfunc((s%/usr/local/lib/python2.7/functools.pyttotal_ordering5s8	cs dtf‡fd†ƒY}|S(s,Convert a cmp= function into a key= functiontKcs}eZdgZd„Z‡fd†Z‡fd†Z‡fd†Z‡fd†Z‡fd†Z‡fd†Z	d„Z
RS(	tobjcWs
||_dS(N(R'(RR'targs((s%/usr/local/lib/python2.7/functools.pyt__init__Yscsˆ|j|jƒdkS(Ni(R'(RR(tmycmp(s%/usr/local/lib/python2.7/functools.pyR[scsˆ|j|jƒdkS(Ni(R'(RR(R*(s%/usr/local/lib/python2.7/functools.pyR]scsˆ|j|jƒdkS(Ni(R'(RR(R*(s%/usr/local/lib/python2.7/functools.pyt__eq___scsˆ|j|jƒdkS(Ni(R'(RR(R*(s%/usr/local/lib/python2.7/functools.pyRascsˆ|j|jƒdkS(Ni(R'(RR(R*(s%/usr/local/lib/python2.7/functools.pyRcscsˆ|j|jƒdkS(Ni(R'(RR(R*(s%/usr/local/lib/python2.7/functools.pyRescSstdƒ‚dS(Nshash not implemented(t	TypeError(R((s%/usr/local/lib/python2.7/functools.pyt__hash__gs(RRt	__slots__R)RRR+RRRR-((R*(s%/usr/local/lib/python2.7/functools.pyR&Ws		(tobject(R*R&((R*s%/usr/local/lib/python2.7/functools.pyt
cmp_to_keyUsN(RRR(R(
Rt
_functoolsRRtWRAPPER_ASSIGNMENTStWRAPPER_UPDATESRRR%R0(((s%/usr/local/lib/python2.7/functools.pyt<module>s	 

Zerion Mini Shell 1.0