summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Gmurczyk <b.gmurczyk@gmail.com>2018-06-14 12:35:20 -0400
committerBenjamin Gmurczyk <b.gmurczyk@gmail.com>2018-06-14 12:35:20 -0400
commit93916525d1d6ed6bf5baab3d0e7166549ede639d (patch)
treee82cc0b03f9b29c9a88d9d4ea9993a1522713508
parent2fd7905a9d4427ea6dbeaff35f44855c824e470d (diff)
downloadpyramid-93916525d1d6ed6bf5baab3d0e7166549ede639d.tar.gz
pyramid-93916525d1d6ed6bf5baab3d0e7166549ede639d.tar.bz2
pyramid-93916525d1d6ed6bf5baab3d0e7166549ede639d.zip
Update `request_param` kwarg documentation for `add_route` config method
See: https://github.com/Pylons/pyramid/pull/705
-rw-r--r--pyramid/config/routes.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pyramid/config/routes.py b/pyramid/config/routes.py
index b00886e5d..20fdb2b5d 100644
--- a/pyramid/config/routes.py
+++ b/pyramid/config/routes.py
@@ -198,9 +198,9 @@ class RoutesConfiguratorMixin(object):
request_param
- This value can be any string. A view declaration with this
- argument ensures that the associated route will only match
- when the request has a key in the ``request.params``
+ This value can be any string or an iterable of strings. A view
+ declaration with this argument ensures that the associated route will
+ only match when the request has a key in the ``request.params``
dictionary (an HTTP ``GET`` or ``POST`` variable) that has a
name which matches the supplied value. If the value
supplied as the argument has a ``=`` sign in it,