diff options
| author | Chris McDonough <chrism@agendaless.com> | 2008-07-16 22:12:03 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2008-07-16 22:12:03 +0000 |
| commit | 8b169d338e1ea6d07bc3cd0c9ff0b0ae91c56708 (patch) | |
| tree | ba476bfbc868a2b5f202fe79d8b36b21290e6351 /repoze/bfg/router.py | |
| parent | 80e4cf02ffd6f1e6b1c140dc2235424e7c1a276f (diff) | |
| download | pyramid-8b169d338e1ea6d07bc3cd0c9ff0b0ae91c56708.tar.gz pyramid-8b169d338e1ea6d07bc3cd0c9ff0b0ae91c56708.tar.bz2 pyramid-8b169d338e1ea6d07bc3cd0c9ff0b0ae91c56708.zip | |
Doc tweaks.
Diffstat (limited to 'repoze/bfg/router.py')
| -rw-r--r-- | repoze/bfg/router.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/repoze/bfg/router.py b/repoze/bfg/router.py index 9dd590fc0..791d6772e 100644 --- a/repoze/bfg/router.py +++ b/repoze/bfg/router.py @@ -54,12 +54,12 @@ class Router: def make_app(root_policy, package=None, filename='configure.zcml'): """ Create a view registry based on the application's ZCML. and - return a Router object, representing a repoze.bfg WSGI - application. 'root_policy' must be a callable that accepts an - environ and returns a graph root object. 'package' is the + return a Router object, representing a ``repoze.bfg`` WSGI + application. 'root_policy' must be a callable that accepts a WSGI + environment and returns a graph root object. 'package' is the dotted-Python-path packagename of the application, 'filename' is - the ZCML file (relative to the package path) that should be parsed - to create the view registry.""" + the filesystem path to a ZCML file (optionally relative to the + package path) that should be parsed to create the view registry.""" from repoze.bfg.registry import makeRegistry registry = makeRegistry(filename, package) return Router(root_policy, registry) |
