From 93916525d1d6ed6bf5baab3d0e7166549ede639d Mon Sep 17 00:00:00 2001 From: Benjamin Gmurczyk Date: Thu, 14 Jun 2018 12:35:20 -0400 Subject: Update `request_param` kwarg documentation for `add_route` config method See: https://github.com/Pylons/pyramid/pull/705 --- pyramid/config/routes.py | 6 +++--- 1 file 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, -- cgit v1.2.3