zope.component: broken interface definition for unregisteredAdapter
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zope 3 |
Won't Fix
|
Undecided
|
Unassigned | ||
zope.component |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
zope/component/
(seems to be the same docstring as for registerAdapter())
def unregisterAdapt
"""Register an adapter factory
A boolean is returned indicating whether the registry was
changed. If the given component is None and there is no
component registered, or if the given component is not
None and is not registered, then the function returns
False, otherwise it returns True.
Parameters:
factory
This is the object used to compute the adapter. The
factory can be None, in which case any factory
for the given required specifications with the given
name is unregistered.
required
This is a sequence of specifications for objects to be
set in class definitions using adapts function, or for
is None or doesn't have a __component_
provided
This is the interface provided by the adapter and
None and implements a single interface, then this
name
The adapter name.
An Unregistered event is generated with an IAdapterRegistr
Changed in zope3: | |
status: | New → Won't Fix |
Now tracked on Github:
https:/ /github. com/zopefoundat ion/zope. component/ issues/ 5