diff options
author | Jason Madden <jamadden@gmail.com> | 2021-03-18 08:37:37 -0500 |
---|---|---|
committer | Jason Madden <jamadden@gmail.com> | 2021-03-18 08:37:37 -0500 |
commit | 968ccad5f7e0c5417fb3908cf431e17da3beac50 (patch) | |
tree | 62a6189b8c6c4cbd8a9fa93a2edfb3a8bc094807 /src/zope/component/interfaces.py | |
parent | 41cafd34b01555bc5c8bb7fe1b6181a7acf32fe7 (diff) | |
download | zope-component-issue59.tar.gz |
Remove backwards compatibility imports.issue59
Fixes #59
Diffstat (limited to 'src/zope/component/interfaces.py')
-rw-r--r-- | src/zope/component/interfaces.py | 28 |
1 files changed, 1 insertions, 27 deletions
diff --git a/src/zope/component/interfaces.py b/src/zope/component/interfaces.py index 15fbb55..068c625 100644 --- a/src/zope/component/interfaces.py +++ b/src/zope/component/interfaces.py @@ -20,33 +20,7 @@ are provided by `zope.component` directly. from zope.interface import Attribute from zope.interface import Interface - -# BBB 2011-09-09, import interfaces from zope.interface -import zope.deferredimport -zope.deferredimport.deprecatedFrom( - "Import from zope.interface.interfaces", - "zope.interface.interfaces", - 'ComponentLookupError', - 'Invalid', - 'IObjectEvent', - 'ObjectEvent', - 'IComponentLookup', - 'IRegistration', - 'IUtilityRegistration', - '_IBaseAdapterRegistration', - 'IAdapterRegistration', - 'ISubscriptionAdapterRegistration', - 'IHandlerRegistration', - 'IRegistrationEvent', - 'RegistrationEvent', - 'IRegistered', - 'Registered', - 'IUnregistered', - 'Unregistered', - 'IComponentRegistry', - 'IComponents', -) - +# pylint:disable=inherit-non-class,no-self-argument,no-method-argument class IComponentArchitecture(Interface): """The Component Architecture is defined by two key components: Adapters |