Skip to content

Commit

Permalink
docs: fix simple typo, iinstance -> isinstance (#774)
Browse files Browse the repository at this point in the history
There is a small typo in jwt/algorithms.py.

Should read `isinstance` rather than `iinstance`.
  • Loading branch information
timgates42 committed Jul 3, 2022
1 parent a863a73 commit 381a15a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jwt/algorithms.py
Expand Up @@ -609,7 +609,7 @@ def sign(self, msg, key):
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
Expand Down

0 comments on commit 381a15a

Please sign in to comment.