From 66a767f0e1911543b77a4dd768821ee2ed40390a Mon Sep 17 00:00:00 2001 From: Michael Merickel <michael@merickel.org> Date: Thu, 18 Oct 2018 03:22:07 +0200 Subject: [PATCH] move docs for argument before example --- src/pyramid/config/routes.py | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pyramid/config/routes.py b/src/pyramid/config/routes.py index f38050d..7a76e9e 100644 --- a/src/pyramid/config/routes.py +++ b/src/pyramid/config/routes.py @@ -533,6 +533,9 @@ When the context exits, the ``route_prefix`` is reset to the original. + ``route_prefix`` is a string suitable to be used as a route prefix, + or ``None``. + Example Usage: .. code-block:: python @@ -540,9 +543,6 @@ config = Configurator() with config.route_prefix_context('foo'): config.add_route('bar', '/bar') - - ``route_prefix`` is a string suitable to be used as a route prefix, - or ``None``. .. versionadded:: 1.10 -- Gitblit v1.9.3