Skip to content

Commit

Permalink
Merge a2eae62 into d8d549e
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Howitz committed Aug 25, 2022
2 parents d8d549e + a2eae62 commit 3ae9694
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGES.rst
Expand Up @@ -5,7 +5,7 @@
4.2.1 (unreleased)
==================

- Nothing changed yet.
- Fix DeprecationWarnings.


4.2.0 (2022-01-24)
Expand Down
6 changes: 3 additions & 3 deletions src/zope/copypastemove/__init__.py
Expand Up @@ -33,7 +33,7 @@

from zope.container.sample import SampleContainer
from zope.container.interfaces import IContainer, IOrderedContainer
from zope.container.interfaces import IContained
from zope.location.interfaces import IContained
from zope.container.interfaces import INameChooser
from zope.container.constraints import checkObject

Expand Down Expand Up @@ -418,7 +418,7 @@ class ContainerItemRenamer(object):
This adapter uses IObjectMover to move an item within the same container
to a different name. We need to first setup an adapter for IObjectMover:
>>> from zope.container.interfaces import IContained
>>> from zope.location.interfaces import IContained
>>> gsm = zope.component.getGlobalSiteManager()
>>> gsm.registerAdapter(ObjectMover, (IContained, ), IObjectMover)
Expand Down Expand Up @@ -489,7 +489,7 @@ class OrderedContainerItemRenamer(ContainerItemRenamer):
To illustrate, we need to setup an IObjectMover, which is used in the
renaming:
>>> from zope.container.interfaces import IContained
>>> from zope.location.interfaces import IContained
>>> gsm = zope.component.getGlobalSiteManager()
>>> gsm.registerAdapter(ObjectMover, (IContained, ), IObjectMover)
Expand Down

0 comments on commit 3ae9694

Please sign in to comment.