summaryrefslogtreecommitdiff
path: root/docs/api.rst
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2020-06-18 22:53:17 -0700
committerGitHub <noreply@github.com>2020-06-19 11:53:17 +0600
commitdc8dc7d05d54bd5502295601c01b557caab92a76 (patch)
tree72ff8cc4f0a65015dc7a114d321ee0df4a5da637 /docs/api.rst
parent07210eef3741781e0483cec656b99477c9185732 (diff)
downloadpyjwt-dc8dc7d05d54bd5502295601c01b557caab92a76.tar.gz
Remove unnecessary compatibility shims for Python 2 (#498)
As the project is Python 3 only, can remove the compatibility shims in compat.py. Type checking has been simplified where it can: - str is iterable - bytes is iterable - use isinstance instead of issubclass The remaining function bytes_from_int() has been moved to utils.py.
Diffstat (limited to 'docs/api.rst')
-rw-r--r--docs/api.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/api.rst b/docs/api.rst
index 3f66173..6ca0b62 100644
--- a/docs/api.rst
+++ b/docs/api.rst
@@ -52,7 +52,7 @@ API Reference
Use ``verify_exp`` instead
- :param str|iterable audience: optional, the value for ``verify_aud`` check
+ :param iterable audience: optional, the value for ``verify_aud`` check
:param str issuer: optional, the value for ``verify_iss`` check
:param int|float leeway: a time margin in seconds for the expiration check
:param bool verify_expiration: