diff options
| author | Tshepang Lekhonkhobe <tshepang@gmail.com> | 2013-01-14 23:46:21 +0200 |
|---|---|---|
| committer | Tshepang Lekhonkhobe <tshepang@gmail.com> | 2013-01-15 00:39:44 +0200 |
| commit | 2e95acb8b64694f0e99f553413cb2ddc123efd6f (patch) | |
| tree | 3f56f3fdc0497037288bbe8f4a528a46b5f52813 | |
| parent | b00f1e46f100d8a23041a1bb7a7b37b026170fe3 (diff) | |
| download | pyramid-2e95acb8b64694f0e99f553413cb2ddc123efd6f.tar.gz pyramid-2e95acb8b64694f0e99f553413cb2ddc123efd6f.tar.bz2 pyramid-2e95acb8b64694f0e99f553413cb2ddc123efd6f.zip | |
improve flow
| -rw-r--r-- | pyramid/config/__init__.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pyramid/config/__init__.py b/pyramid/config/__init__.py index 40c487704..b8fa1d16d 100644 --- a/pyramid/config/__init__.py +++ b/pyramid/config/__init__.py @@ -640,8 +640,8 @@ class Configurator( A configuration callable should be a callable that accepts a single argument named ``config``, which will be an instance of a - :term:`Configurator` (be warned that it will not be the same - configurator instance on which you call this method, however). The + :term:`Configurator`. However, be warned that it will not be the same + configurator instance on which you call this method. The code which runs as the result of calling the callable should invoke methods on the configurator passed to it which add configuration state. The return value of a callable will be ignored. @@ -701,7 +701,7 @@ class Configurator( to :meth:`pyramid.config.Configurator.add_route` within the included callable will have their pattern prefixed with the value of ``route_prefix``. This can be used to help mount a set of routes at a - different location than the included callable's author intended while + different location than the included callable's author intended, while still maintaining the same route names. For example: .. code-block:: python |
