Skip to content

fix: correct docstring typo in _validate_jti#1179

Open
cmw-creator wants to merge 1 commit into
jpadilla:masterfrom
cmw-creator:fix/typo-jti-docstring
Open

fix: correct docstring typo in _validate_jti#1179
cmw-creator wants to merge 1 commit into
jpadilla:masterfrom
cmw-creator:fix/typo-jti-docstring

Conversation

@cmw-creator

Copy link
Copy Markdown

Summary

Fixes a small grammar typo in the _validate_jti() docstring.

Change

In jwt/api_jwt.py:

- Checks whether "jti" if in the payload is valid or not
+ Checks whether "jti" in the payload is valid or not

The word "if" is redundant after "whether".

Closes #1063

Removed redundant 'if' from docstring.

Closes jpadilla#1063
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Doc string typo fix for PyJWT._validate_jti() function

1 participant