Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Cnly committed Dec 21, 2021
1 parent 7310173 commit dd9c323
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/bencode.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ def __decode_string(b, start=0):
"""
>>> __decode_string(b'3:foo3:bar')
{'value': 'foo', 'start': 5}
>> __decode_string(b'3:foo3:bar', start=5)
>>> __decode_string(b'3:foo3:bar', start=5)
{'value': 'bar', 'start': 10}
>>> __decode_string(b'0:3:bar')
{'value': '', 'start': 2}
Expand Down

0 comments on commit dd9c323

Please sign in to comment.