summaryrefslogtreecommitdiff
path: root/repoze/bfg/interfaces.py
blob: 711ea44cc5d72455091d546d31af43f38c6eb2f5 (plain)
1
2
3
4
5
6
7
8
9
10
from zope.interface import Interface

class IWSGIApplication(Interface):
    def __call__(environ, start_response):
        """ Represent a WSGI (PEP 333) application """

class IPolicy(Interface):
    def __call__(root, environ):
        """ Return a tuple in the form (context, name, subpath) """