doc(Api._get_responder): Updated docstring to be more accurate

Previously, "Returns" talked about a 2-member tuple, but the
method was changed somewhere along the way to return a 3-member
tuple, and this patch updates the docstring accordingly.
This commit is contained in:
kgriffs
2013-08-28 15:56:40 -05:00
parent 8c6dba2c96
commit 849fca4c38

View File

@@ -239,10 +239,12 @@ class API(object):
Args:
path: URI path to search (without query string)
method: HTTP method (uppercase) requested
Returns:
A 2-member tuple, containing a responder callable and a dict
containing parsed path fields, if any were specified in
the matching route's URI template
A 3-member tuple, containing a responder callable, a dict
containing parsed path fields (if any were specified in
the matching route's URI template), and a reference to
the "method not allowed" responder for the resource.
"""