Commit 264bb7f6 authored by Christian Zagrodnick's avatar Christian Zagrodnick

- Moved the declaration of ``IOrderedContainer.updateOrder`` to a new, basic

  ``IOrdered`` interface and let ``IOrderedContainer`` inherit it. This allows
  easier reuse of the declaration.

parent acc6c6be
......@@ -5,7 +5,9 @@ CHANGES
3.7.3 (unreleased)
------------------
- ...
- Moved the declaration of ``IOrderedContainer.updateOrder`` to a new, basic
``IOrdered`` interface and let ``IOrderedContainer`` inherit it. This allows
easier reuse of the declaration.
3.7.2 (2009-03-12)
------------------
......
......@@ -177,8 +177,9 @@ class IBTreeContainer(IContainer):
"""
class IOrderedContainer(IContainer):
"""Containers whose contents are maintained in order."""
class IOrdered(Interface):
"""Objects whose contents are maintained in order."""
def updateOrder(order):
"""Revise the order of keys, replacing the current ordering.
......@@ -193,6 +194,11 @@ class IOrderedContainer(IContainer):
"""
class IOrderedContainer(IOrdered, IContainer):
"""Containers whose contents are maintained in order."""
class IContainerNamesContainer(IContainer):
"""Containers that always choose names for their items."""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment