summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Gates <tim.gates@iress.com>2022-07-03 16:17:40 +1000
committerGitHub <noreply@github.com>2022-07-03 12:17:40 +0600
commit381a15a21fafb54348e4abc7f354eb5486509a93 (patch)
treeff4827ee397987ba9f69683fb1e1652294b6b353
parenta863a7329027fe1e993c866374b195785978b2a9 (diff)
downloadpyjwt-381a15a21fafb54348e4abc7f354eb5486509a93.tar.gz
docs: fix simple typo, iinstance -> isinstance (#774)
There is a small typo in jwt/algorithms.py. Should read `isinstance` rather than `iinstance`.
-rw-r--r--jwt/algorithms.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/jwt/algorithms.py b/jwt/algorithms.py
index 4c178a3..93fadf4 100644
--- a/jwt/algorithms.py
+++ b/jwt/algorithms.py
@@ -609,7 +609,7 @@ if has_crypto:
Sign a message ``msg`` using the EdDSA private key ``key``
:param str|bytes msg: Message to sign
:param Ed25519PrivateKey}Ed448PrivateKey key: A :class:`.Ed25519PrivateKey`
- or :class:`.Ed448PrivateKey` iinstance
+ or :class:`.Ed448PrivateKey` isinstance
:return bytes signature: The signature, as bytes
"""
msg = bytes(msg, "utf-8") if type(msg) is not bytes else msg