aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJacob Kaplan-Moss2011-07-04 07:33:16 -0700
committerJacob Kaplan-Moss2011-07-04 07:33:16 -0700
commitbb3953ae2e5ea820f9f3d056b8462f20601969dc (patch)
tree8b000aac79f28b8899e33107bdf4c8f4bd1c078d
parent1012b4afe8cb8a2952b4cbfc3d29d57de4ba53e4 (diff)
parentde5ab6d2a21875b29a5d456551dbb46e7971fcbc (diff)
downloaddjango-shorturls-bb3953ae2e5ea820f9f3d056b8462f20601969dc.tar.bz2
Merge pull request #4 from streety/master
Correction to sample usage.
-rw-r--r--src/shorturls/baseconv.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shorturls/baseconv.py b/src/shorturls/baseconv.py
index ba2f759..1e22ed1 100644
--- a/src/shorturls/baseconv.py
+++ b/src/shorturls/baseconv.py
@@ -8,7 +8,7 @@ Sample usage:
>>> base20 = BaseConverter('0123456789abcdefghij')
>>> base20.from_decimal(1234)
'31e'
->>> base20.from_decimal('31e')
+>>> base20.to_decimal('31e')
1234
"""