diff options
| author | Matti John <matti.john@gmail.com> | 2015-11-11 11:19:13 +0000 |
|---|---|---|
| committer | Matti John <matti.john@gmail.com> | 2015-11-11 11:19:13 +0000 |
| commit | e71e4f3280f477d102cca934b342dd6ffd07b9bc (patch) | |
| tree | 1fceb73b88309d0b19433ebe9f1e44d35a6ddf32 /docs | |
| parent | fcfa6c7ea67392f8cb81f8fdc6ace655a681ae2c (diff) | |
| download | pyjwt-e71e4f3280f477d102cca934b342dd6ffd07b9bc.tar.gz | |
Fix imports in code example
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/installation.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/installation.rst b/docs/installation.rst index b60e06c..8d3f3d2 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -43,8 +43,8 @@ for RSA with SHA256 and EC with SHA256 signatures. .. code-block:: python import jwt - import jwt.contrib.algorithms.pycrypto import RSAAlgorithm - import jwt.contrib.algorithms.py_ecdsa import ECAlgorithm + from jwt.contrib.algorithms.pycrypto import RSAAlgorithm + from jwt.contrib.algorithms.py_ecdsa import ECAlgorithm jwt.register_algorithm('RS256', RSAAlgorithm(RSAAlgorithm.SHA256)) jwt.register_algorithm('ES256', ECAlgorithm(ECAlgorithm.SHA256)) |
