summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruy-rrodriguez <5296200+uy-rrodriguez@users.noreply.github.com>2020-07-28 18:31:52 +0100
committerAsif Saif Uddin <auvipy@gmail.com>2020-07-29 05:40:23 +0600
commitd54965b86ce4ede956db70baff0b3d5e9182a007 (patch)
treeea5b727c1756eb1b6c52b9f48fed5d63c9105945
parentbda81b3cb6306dec19a6e60113e21b2933d0950c (diff)
downloadoauthlib-d54965b86ce4ede956db70baff0b3d5e9182a007.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.py4
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)