Skip to content

Commit

Permalink
Adding interfaces modules. This has been slightly altered from the or…
Browse files Browse the repository at this point in the history
…iginal grok version, to have orderedcontainer implement IContext
  • Loading branch information
trollfot committed Jan 3, 2010
1 parent 31c8516 commit 15caef6
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/grokcore/content/interfaces.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# -*- coding: utf-8 -*-

from grokcore.component.interfaces import IContext
from zope.container.interfaces import IOrderedContainer
from zope.container.interfaces import IContainer as IContainerBase


class IContainer(IContext, IContainerBase):
"""A Grok container.
"""

class IOrderedContainer(IContainer, IOrderedContainer):
"""A Grok container that can be ordered.
"""

0 comments on commit 15caef6

Please sign in to comment.