From b79ab7b38dd77524cf1fc5d5c4f3e12ccaf93875 Mon Sep 17 00:00:00 2001 From: Rolux Date: Sat, 5 Jul 2008 16:37:59 +0200 Subject: [PATCH] base 36 --- oxlib/format.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/oxlib/format.py b/oxlib/format.py index 94027cd..4fe0113 100644 --- a/oxlib/format.py +++ b/oxlib/format.py @@ -5,7 +5,8 @@ import re def to36(q): """ - Converts an integer to base 36 (a useful scheme for human-sayable IDs). + Converts an integer to base 36 (a useful scheme for human-sayable IDs + like 'fuck' (739172), 'shit' (1329077) or 'hitler' (1059538851)). >>> to36(35) 'z'