From 8b169d338e1ea6d07bc3cd0c9ff0b0ae91c56708 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 16 Jul 2008 22:12:03 +0000 Subject: Doc tweaks. --- repoze/bfg/router.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'repoze/bfg/router.py') 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) -- cgit v1.2.3