PNG  IHDR;IDATxܻn0K )(pA 7LeG{ §㻢|ذaÆ 6lذaÆ 6lذaÆ 6lom$^yذag5bÆ 6lذaÆ 6lذa{ 6lذaÆ `}HFkm,mӪôô! x|'ܢ˟;E:9&ᶒ}{v]n&6 h_tڠ͵-ҫZ;Z$.Pkž)!o>}leQfJTu іچ\X=8Rن4`Vwl>nG^is"ms$ui?wbs[m6K4O.4%/bC%t Mז -lG6mrz2s%9s@-k9=)kB5\+͂Zsٲ Rn~GRC wIcIn7jJhۛNCS|j08yiHKֶۛkɈ+;SzL/F*\Ԕ#"5m2[S=gnaPeғL lذaÆ 6l^ḵaÆ 6lذaÆ 6lذa; _ذaÆ 6lذaÆ 6lذaÆ RIENDB`  lY!@sdZddlmZddZGdddeZGdddeZGd d d eZ Gd d d e Z Gd ddde Z ddZ dS)z3Abstract Base Classes (ABCs) according to PEP 3119.)WeakSetcCs d|_|S)aA 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 normal 'super' call mechanisms. Usage: class C(metaclass=ABCMeta): @abstractmethod def my_abstract_method(self, ...): ... T)__isabstractmethod__)funcobjr"/opt/python35/lib/python3.5/abc.pyabstractmethod s rcs.eZdZdZdZfddZS)abstractclassmethodaO A decorator indicating abstract classmethods. Similar to abstractmethod. Usage: class C(metaclass=ABCMeta): @abstractclassmethod def my_abstract_classmethod(cls, ...): ... 'abstractclassmethod' is deprecated. Use 'classmethod' with 'abstractmethod' instead. Tcsd|_tj|dS)NT)rsuper__init__)selfcallable) __class__rrr 0s zabstractclassmethod.__init__)__name__ __module__ __qualname____doc__rr rr)r rrs rcs.eZdZdZdZfddZS)abstractstaticmethodaO A decorator indicating abstract staticmethods. Similar to abstractmethod. Usage: class C(metaclass=ABCMeta): @abstractstaticmethod def my_abstract_staticmethod(...): ... 'abstractstaticmethod' is deprecated. Use 'staticmethod' with 'abstractmethod' instead. Tcsd|_tj|dS)NT)rr r )r r )r rrr Hs zabstractstaticmethod.__init__)rrrrrr rr)r rr5s rc@seZdZdZdZdS)abstractpropertyak A 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 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) 'abstractproperty' is deprecated. Use 'property' with 'abstractmethod' instead. TN)rrrrrrrrrrMs rcsaeZdZdZdZfddZddZddd Zd d Zd d Z S)ABCMetaaiMetaclass 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()). rcstj||||}dd|jD}x_|D]W}xNt|dtD]7}t||d}t|ddrW|j|qWWq;Wt||_t|_ t|_ t|_ t j |_|S)NcSs.h|]$\}}t|ddr|qS)rF)getattr).0namevaluerrr s  z"ABCMeta.__new__..__abstractmethods__rF)r __new__itemsrsetadd frozensetrr _abc_registry _abc_cache_abc_negative_cacher_abc_invalidation_counter_abc_negative_cache_version)mclsrbases namespacecls abstractsbaser)r rrrs      zABCMeta.__new__cCslt|tstdt||r.|St||rItd|jj|tjd7_|S)zsRegister a virtual subclass of an ABC. Returns the subclass, to allow usage as a class decorator. zCan only register classesz'Refusing to create an inheritance cycle) isinstancetype TypeError issubclass RuntimeErrorr rrr#)r(subclassrrrregisters  zABCMeta.registerNcCstd|j|jfd|tdtjd|xUt|jjD]>}|jdrMt ||}td||fd|qMWdS)z'Debug helper to print the ABC registry.z Class: %s.%sfilezInv.counter: %s_abc_z%s: %rN) printrrrr#sorted__dict__keys startswithr)r(r3rrrrr_dump_registrys  zABCMeta._dump_registrycs|j}|jkrdSt|}||krfjtjkrY|jkrYdSj|Stfdd||hDS)z'Override for isinstance(instance, cls).TFc3s|]}j|VqdS)N)__subclasscheck__)rc)r(rr sz,ABCMeta.__instancecheck__..) r r!r-r$rr#r"r;any)r(instancer1subtyper)r(r__instancecheck__s     zABCMeta.__instancecheck__cCsL||jkrdS|jtjkr@t|_tj|_n||jkrSdS|j|}|tk r|r|jj|n|jj||S|t |dfkr|jj|dSx4|j D])}t ||r|jj|dSqWx7|j D])}t ||r |jj|dSq W|jj|dS)z'Override for issubclass(subclass, cls).TF__mro__) r!r$rr#rr"__subclasshook__NotImplementedrrr r/__subclasses__)r(r1okrclssclsrrrr;s4  zABCMeta.__subclasscheck__) rrrrr#rr2r:rAr;rr)r rrms   rc@seZdZdZdS)ABCzVHelper class that provides a standard way to create an ABC using inheritance. N)rrrrrrrrrIs rI metaclasscCstjS)zReturns the current ABC cache token. The token is an opaque object (supporting equality testing) identifying the current version of the ABC cache for virtual subclasses. The token changes with every call to ``register()`` on any ABC. )rr#rrrrget_cache_tokensrKN)r _weakrefsetrr classmethodr staticmethodrpropertyrr-rrIrKrrrrs  }