Skip to content

Commit d54965b

Browse files
uy-rrodriguezauvipy
authored andcommitted
Update pydoc in parameters.py
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"
1 parent bda81b3 commit d54965b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

oauthlib/oauth2/rfc6749/parameters.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ def prepare_token_revocation_request(url, token, token_type_hint="access_token",
161161
"""Prepare a token revocation request.
162162
163163
The client constructs the request by including the following parameters
164-
using the "application/x-www-form-urlencoded" format in the HTTP request
164+
using the ``application/x-www-form-urlencoded`` format in the HTTP request
165165
entity-body:
166166
167167
:param token: REQUIRED. The token that the client wants to get revoked.
@@ -427,7 +427,7 @@ def parse_token_response(body, scope=None):
427427

428428

429429
def validate_token_parameters(params):
430-
"""Ensures token precence, token type, expiration and scope in params."""
430+
"""Ensures token presence, token type, expiration and scope in params."""
431431
if 'error' in params:
432432
raise_from_error(params.get('error'), params)
433433

0 commit comments

Comments
 (0)