Skip to content

Commit 5175f65

Browse files
committed
Fix a SyntaxWarning caused by invalid escape sequences
The warning is thrown when Python imports the file, and manifests in the test suite with this error: ``` jwt/api_jwt.py:326 /home/runner/work/pyjwt/pyjwt/jwt/api_jwt.py:326: SyntaxWarning: invalid escape sequence '\*' (e.g. HS\* and RS\*). ```
1 parent 6293865 commit 5175f65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jwt/api_jwt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ def decode(
323323
configure it in the same place you configure the
324324
``key``. Make sure not to mix symmetric and asymmetric
325325
algorithms that interpret the ``key`` in different ways
326-
(e.g. HS\* and RS\*).
326+
(e.g. HS\\* and RS\\*).
327327
:type algorithms: typing.Sequence[str] or None
328328
329329
:param jwt.types.Options options: extended decoding and validation options

0 commit comments

Comments
 (0)