Skip to content

Commit 0f6957a

Browse files
committed
Fix typo in README
1 parent 183002e commit 0f6957a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ The `decode()` function can raise other exceptions, e.g. for invalid issuer or a
4848
```python
4949
try:
5050
payload = jwt.decode('someJWTstring')
51-
exception jwt.InvalidTokenError:
51+
except jwt.InvalidTokenError:
5252
pass # do something sensible here, e.g. return HTTP 403 status code
5353
```
5454

0 commit comments

Comments
 (0)