Skip to content

Commit e71e4f3

Browse files
committed
Fix imports in code example
1 parent fcfa6c7 commit e71e4f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/installation.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ for RSA with SHA256 and EC with SHA256 signatures.
4343
.. code-block:: python
4444
4545
import jwt
46-
import jwt.contrib.algorithms.pycrypto import RSAAlgorithm
47-
import jwt.contrib.algorithms.py_ecdsa import ECAlgorithm
46+
from jwt.contrib.algorithms.pycrypto import RSAAlgorithm
47+
from jwt.contrib.algorithms.py_ecdsa import ECAlgorithm
4848
4949
jwt.register_algorithm('RS256', RSAAlgorithm(RSAAlgorithm.SHA256))
5050
jwt.register_algorithm('ES256', ECAlgorithm(ECAlgorithm.SHA256))

0 commit comments

Comments
 (0)