OwlCyberSecurity - MANAGER
Edit File: components.pyc
� `��ac @` sc d Z d d l m Z m Z m Z d d l m Z m Z d d l m Z d d l m Z d d l m Z d d l m Z e � Z d a d � Z d � Z d � Z d � Z e e � d � Z e Z e d d d � � Y� Z e d d d � � Y� Z d e f d � � YZ d d � Z d e f d � � YZ d e f d � � YZ d d d d d d d g Z d S( s� Component architecture for Twisted, based on Zope3 components. Using the Zope3 API directly is strongly recommended. Everything you need is in the top-level of the zope.interface package, e.g.:: from zope.interface import Interface, implementer class IFoo(Interface): pass @implementer(IFoo) class Foo: pass print(IFoo.implementedBy(Foo)) # True print(IFoo.providedBy(Foo())) # True L{twisted.python.components.registerAdapter} from this module may be used to add to Twisted's global adapter registry. L{twisted.python.components.proxyForInterface} is a factory for classes which allow access to only the parts of another class defined by a specified interface. i ( t divisiont absolute_importt print_function( t interfacet declarations( t AdapterRegistry( t NativeStringIO( t reflect( t _oldStylec G` s� t } | s t d � � t | t j � s<