Skip to content

Commit

Permalink
Merge pull request #478 from r6eve/fix/exception-by-syntaxwarning
Browse files Browse the repository at this point in the history
Fix the exception by SyntaxWarning on Python 3.12
  • Loading branch information
liquidz authored Apr 30, 2024
2 parents 106cf58 + 295a67c commit c03a25f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions python/bencode.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,6 @@ def iced_vim_repr(x):
'"\\\\"foo\\\\""'
>>> iced_vim_repr('foo\\n')
'"foo\\\\n"'
>>> iced_vim_repr('foo\d')
'"foo\\\\\\\\d"'
>>> iced_vim_repr('foo\\d')
'"foo\\\\\\\\d"'
>>> iced_vim_repr(123)
Expand Down

0 comments on commit c03a25f

Please sign in to comment.