Skip to content

Commit

Permalink
Corrected sample usage to convert back to decimal.
Browse files Browse the repository at this point in the history
  • Loading branch information
streety committed Jul 4, 2011
1 parent 1012b4a commit de5ab6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shorturls/baseconv.py
Expand Up @@ -8,7 +8,7 @@
>>> base20 = BaseConverter('0123456789abcdefghij')
>>> base20.from_decimal(1234)
'31e'
>>> base20.from_decimal('31e')
>>> base20.to_decimal('31e')
1234
"""

Expand Down

0 comments on commit de5ab6d

Please sign in to comment.