Permalink
Browse files

Corrected sample usage to convert back to decimal.

  • Loading branch information...
1 parent 1012b4a commit de5ab6d2a21875b29a5d456551dbb46e7971fcbc @streety committed Jul 4, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/shorturls/baseconv.py
@@ -8,7 +8,7 @@
>>> base20 = BaseConverter('0123456789abcdefghij')
>>> base20.from_decimal(1234)
'31e'
->>> base20.from_decimal('31e')
+>>> base20.to_decimal('31e')
1234
"""

0 comments on commit de5ab6d

Please sign in to comment.