diff options
author | uy-rrodriguez <5296200+uy-rrodriguez@users.noreply.github.com> | 2020-07-28 18:31:52 +0100 |
---|---|---|
committer | Asif Saif Uddin <auvipy@gmail.com> | 2020-07-29 05:40:23 +0600 |
commit | d54965b86ce4ede956db70baff0b3d5e9182a007 (patch) | |
tree | ea5b727c1756eb1b6c52b9f48fed5d63c9105945 | |
parent | bda81b3cb6306dec19a6e60113e21b2933d0950c (diff) | |
download | oauthlib-X6VmZSxczGzm9Ak5.tar.gz |
Update pydoc in parameters.pyX6VmZSxczGzm9Ak5
Fix of a couple of typing mistakes in pydoc text:
- Usage of " to surround "application/x-form-urlencoded" instead of `` (as in the rest of the documentation)
- "presence" written with "c"
-rw-r--r-- | oauthlib/oauth2/rfc6749/parameters.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/oauthlib/oauth2/rfc6749/parameters.py b/oauthlib/oauth2/rfc6749/parameters.py index 2af9eb6..f07b8bd 100644 --- a/oauthlib/oauth2/rfc6749/parameters.py +++ b/oauthlib/oauth2/rfc6749/parameters.py @@ -161,7 +161,7 @@ def prepare_token_revocation_request(url, token, token_type_hint="access_token", """Prepare a token revocation request. The client constructs the request by including the following parameters - using the "application/x-www-form-urlencoded" format in the HTTP request + using the ``application/x-www-form-urlencoded`` format in the HTTP request entity-body: :param token: REQUIRED. The token that the client wants to get revoked. @@ -427,7 +427,7 @@ def parse_token_response(body, scope=None): def validate_token_parameters(params): - """Ensures token precence, token type, expiration and scope in params.""" + """Ensures token presence, token type, expiration and scope in params.""" if 'error' in params: raise_from_error(params.get('error'), params) |