403Webshell
Server IP : 182.53.201.61  /  Your IP : 216.73.217.175
Web Server : Apache/2.2.15 (Fedora)
System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686
User : apache ( 48)
PHP Version : 5.3.3
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /proc/2843/cwd/usr/lib/python2.6/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/2843/cwd/usr/lib/python2.6/abc.pyc
Ñò
ÇÉŽJc@s?dZd„Zdefd„ƒYZdefd„ƒYZdS(s3Abstract Base Classes (ABCs) according to PEP 3119.cCs
t|_|S(sóA decorator indicating abstract methods.

    Requires that the metaclass is ABCMeta or derived from it.  A
    class that has a metaclass derived from ABCMeta cannot be
    instantiated unless all of its abstract methods are overridden.
    The abstract methods can be called using any of the the normal
    'super' call mechanisms.

    Usage:

        class C:
            __metaclass__ = ABCMeta
            @abstractmethod
            def my_abstract_method(self, ...):
                ...
    (tTruet__isabstractmethod__(tfuncobj((s/usr/lib/python2.6/abc.pytabstractmethods	tabstractpropertycBseZdZeZRS(s3A decorator indicating abstract properties.

    Requires that the metaclass is ABCMeta or derived from it.  A
    class that has a metaclass derived from ABCMeta cannot be
    instantiated unless all of its abstract properties are overridden.
    The abstract properties can be called using any of the the normal
    'super' call mechanisms.

    Usage:

        class C:
            __metaclass__ = ABCMeta
            @abstractproperty
            def my_abstract_property(self):
                ...

    This defines a read-only property; you can also define a read-write
    abstract property using the 'long' form of property declaration:

        class C:
            __metaclass__ = ABCMeta
            def getx(self): ...
            def setx(self, value): ...
            x = abstractproperty(getx, setx)
    (t__name__t
__module__t__doc__RR(((s/usr/lib/python2.6/abc.pyRstABCMetacBsDeZdZdZd„Zd„Zdd„Zd„Zd„Z	RS(siMetaclass for defining Abstract Base Classes (ABCs).

    Use this metaclass to create an ABC.  An ABC can be subclassed
    directly, and then acts as a mix-in class.  You can also register
    unrelated concrete classes (even built-in classes) and unrelated
    ABCs as 'virtual subclasses' -- these and their descendants will
    be considered subclasses of the registering ABC by the built-in
    issubclass() function, but the registering ABC won't show up in
    their MRO (Method Resolution Order) nor will method
    implementations defined by the registering ABC be callable (not
    even via super()).

    icCsçtt|ƒi||||ƒ}td„|iƒDƒƒ}xd|D]\}xSt|dtƒƒD]<}t||dƒ}t|dtƒo|i|ƒq`q`WqDWt	|ƒ|_
tƒ|_tƒ|_tƒ|_
ti|_|S(Ncss6x/|](\}}t|dtƒo	|VqqWdS(RN(tgetattrtFalse(t.0tnametvalue((s/usr/lib/python2.6/abc.pys	<genexpr>Qs		t__abstractmethods__R(tsuperRt__new__tsettitemsR	tNoneR
taddt	frozensetRt
_abc_registryt
_abc_cachet_abc_negative_cachet_abc_invalidation_countert_abc_negative_cache_version(tmclsRtbasest	namespacetclst	abstractstbaseR
((s/usr/lib/python2.6/abc.pyRNs !	cCsxt|tƒptdƒ‚nt||ƒodSt||ƒotdƒ‚n|ii|ƒtid7_dS(s&Register a virtual subclass of an ABC.sCan only register classesNs'Refusing to create an inheritance cyclei(	t
isinstancettypet	TypeErrort
issubclasstRuntimeErrorRRRR(Rtsubclass((s/usr/lib/python2.6/abc.pytregisterascCs†|d|i|ifIJ|dtiIJxTt|iiƒƒD]=}|idƒo't||ƒ}|d||fIJqAqAWdS(s'Debug helper to print the ABC registry.sClass: %s.%ssInv.counter: %st_abc_s%s: %rN(	RRRRtsortedt__dict__tkeyst
startswithR	(RtfileRR
((s/usr/lib/python2.6/abc.pyt_dump_registryoscCs t|ddƒ}||ijotSt|ƒ}||jp
|djo6|itijo||ijot	S|i
|ƒS|i
|ƒp
|i
|ƒS(s'Override for isinstance(instance, cls).t	__class__N(R	RRRR"RRRRR
t__subclasscheck__(RtinstanceR&tsubtype((s/usr/lib/python2.6/abc.pyt__instancecheck__xs
cCss||ijotS|itijotƒ|_ti|_n||ijotS|i|ƒ}|t	j	oGt
|tƒpt‚|o|ii
|ƒn|ii
|ƒ|S|t|ddƒjo|ii
|ƒtSx6|iD]+}t||ƒo|ii
|ƒtSqôWx9|iƒD]+}t||ƒo|ii
|ƒtSq0W|ii
|ƒtS(s'Override for issubclass(subclass, cls).t__mro__((RRRRRRRR
t__subclasshook__tNotImplementedR!tbooltAssertionErrorRR	RR$t__subclasses__(RR&toktrclstscls((s/usr/lib/python2.6/abc.pyR0‰s:

	
	N(
RRRRRR'RR.R3R0(((s/usr/lib/python2.6/abc.pyR9s				N(RRtpropertyRR"R(((s/usr/lib/python2.6/abc.pyt<module>s	

Youez - 2016 - github.com/yon3zu
LinuXploit