summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorÉric Araujo <earaujo@caravan.coop>2020-01-14 17:05:02 -0500
committerÉric Araujo <earaujo@caravan.coop>2020-01-14 17:05:02 -0500
commit04440d29082bbbae34fb76b9a8de083d1056e878 (patch)
treec09bfb13dfb3284bd0956539afbaf4f3c6791668 /src
parent517140bac948e9a8bb60ad4c0c80bf45cd2741f1 (diff)
downloadpyramid-04440d29082bbbae34fb76b9a8de083d1056e878.tar.gz
pyramid-04440d29082bbbae34fb76b9a8de083d1056e878.tar.bz2
pyramid-04440d29082bbbae34fb76b9a8de083d1056e878.zip
apply more review fixes, minimize some diffs
Diffstat (limited to 'src')
-rw-r--r--src/pyramid/config/routes.py10
-rw-r--r--src/pyramid/config/views.py4
2 files changed, 7 insertions, 7 deletions
diff --git a/src/pyramid/config/routes.py b/src/pyramid/config/routes.py
index 4077ec96b..78e708d1e 100644
--- a/src/pyramid/config/routes.py
+++ b/src/pyramid/config/routes.py
@@ -40,10 +40,10 @@ class RoutesConfiguratorMixin(object):
inherit_slash=None,
**predicates
):
- r""" Add a :term:`route configuration` to the current configuration state.
- The arguments to this method are divided into *predicate* and
- *non-predicate* types. :term:`Route predicate` arguments
- narrow the circumstances in which a route will be match a
+ """ Add a :term:`route configuration` to the current configuration
+ state. Arguments to ``add_route`` are divided into *predicate*
+ and *non-predicate* types. :term:`Route predicate` arguments
+ narrow the circumstances in which a route will match a
request; non-predicate arguments are informational.
Non-Predicate Arguments
@@ -301,7 +301,7 @@ class RoutesConfiguratorMixin(object):
:ref:`custom_route_predicates` for more information about
``info``.
- \*\*predicates
+ \\*\\*predicates
Pass extra keyword parameters to use custom predicates registered via
:meth:`pyramid.config.Configurator.add_route_predicate`. More than
diff --git a/src/pyramid/config/views.py b/src/pyramid/config/views.py
index bbc4fc5bc..c4fb54dd8 100644
--- a/src/pyramid/config/views.py
+++ b/src/pyramid/config/views.py
@@ -266,7 +266,7 @@ class ViewsConfiguratorMixin(object):
exception_only=False,
**view_options
):
- r""" Add a :term:`view configuration` to the current
+ """ Add a :term:`view configuration` to the current
configuration state. Arguments to ``add_view`` are broken
down below into *predicate* arguments and *non-predicate*
arguments. Predicate arguments narrow the circumstances in
@@ -739,7 +739,7 @@ class ViewsConfiguratorMixin(object):
obsoletes this argument, but it is kept around for backwards
compatibility.
- \*\*view_options
+ \\*\\*view_options
Pass extra keyword parameters to use custom predicates
or set a value for a view deriver. See