1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
From 79c23a05499365ad65e40649f030e53ee0f649e4 Mon Sep 17 00:00:00 2001
From: Jonathan Street <jonathan@jonathanstreet.com>
Date: Mon, 4 Jul 2011 07:30:20 -0700
Subject: Corrected sample usage to convert back to decimal.
Patch-Name: 0001-Corrected-sample-usage-to-convert-back-to-decimal.patch
---
src/shorturls/baseconv.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/shorturls/baseconv.py b/src/shorturls/baseconv.py
index 9012441..96e28e3 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
"""
|