diff options
author | Tim Gates <tim.gates@iress.com> | 2022-07-03 16:17:40 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-03 12:17:40 +0600 |
commit | 381a15a21fafb54348e4abc7f354eb5486509a93 (patch) | |
tree | ff4827ee397987ba9f69683fb1e1652294b6b353 | |
parent | a863a7329027fe1e993c866374b195785978b2a9 (diff) | |
download | pyjwt-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.py | 2 |
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 |