summaryrefslogtreecommitdiff
path: root/repoze/bfg/router.py
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2009-12-09 00:34:50 +0000
committerChris McDonough <chrism@agendaless.com>2009-12-09 00:34:50 +0000
commit8b1f6e5ed3f9fc32b5eb03257d24eaf754a797a9 (patch)
treeb0525c11e88c5adf6c233c09d7e9318429d54265 /repoze/bfg/router.py
parentf46de3bb0a9d2c9823aa3221fd28d80aed65b719 (diff)
downloadpyramid-8b1f6e5ed3f9fc32b5eb03257d24eaf754a797a9.tar.gz
pyramid-8b1f6e5ed3f9fc32b5eb03257d24eaf754a797a9.tar.bz2
pyramid-8b1f6e5ed3f9fc32b5eb03257d24eaf754a797a9.zip
- General documentation freshening which takes imperative
configuration into account in more places and uses glossary references more liberally.
Diffstat (limited to 'repoze/bfg/router.py')
-rw-r--r--repoze/bfg/router.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/repoze/bfg/router.py b/repoze/bfg/router.py
index b3f41442e..deffa4e17 100644
--- a/repoze/bfg/router.py
+++ b/repoze/bfg/router.py
@@ -29,7 +29,6 @@ from repoze.bfg.view import default_notfound_view
make_app # prevent pyflakes from complaining
class Router(object):
- """ The main repoze.bfg WSGI application. """
implements(IRouter)
debug_notfound = False
@@ -50,10 +49,11 @@ class Router(object):
def __call__(self, environ, start_response):
"""
- Accept ``environ`` and ``start_response``; route requests to
- ``repoze.bfg`` views based on registrations within the
- application registry; call ``start_response`` and return an
- iterable.
+ Accept ``environ`` and ``start_response``; create a
+ :term:`request` and route the request to a :mod:`repoze.bfg`
+ view based on introspection of :term:`view configuration`
+ within the application registry; call ``start_response`` and
+ return an iterable.
"""
registry = self.registry
has_listeners = registry.has_listeners