Skip to content

Commit 6d72cb1

Browse files
authored
Merge pull request #486 from LefterisJP/fix_location_docs
Fix location argument name for docs
2 parents 9ac7ae5 + bb4db48 commit 6d72cb1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

AUTHORS.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,4 @@ Contributors (chronological)
4848
* Karthikeyan Singaravelan `@tirkarthi <https://github.com/tirkarthi>`_
4949
* Sami Salonen `@suola <https://github.com/suola>`_
5050
* Tim Gates `@timgates42 <https://github.com/timgates42>`_
51+
* Lefteris Karapetsas `@lefterisjp <https://github.com/lefterisjp>`_

src/webargs/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ def greet(args):
324324
:param argmap: Either a `marshmallow.Schema`, a `dict`
325325
of argname -> `marshmallow.fields.Field` pairs, or a callable
326326
which accepts a request and returns a `marshmallow.Schema`.
327-
:param str locations: Where on the request to load values.
327+
:param str location: Where on the request to load values.
328328
:param bool as_kwargs: Whether to insert arguments as keyword arguments.
329329
:param callable validate: Validation function that receives the dictionary
330330
of parsed arguments. If the function returns ``False``, the parser

0 commit comments

Comments
 (0)