On Sat, 16 Jul 2005 19:01:50 -0400, Peter Hansen <[EMAIL PROTECTED]> wrote:
>George Sakkis wrote:
>> "Bengt Richter" <[EMAIL PROTECTED]> wrote:
>>> >>> identity = ''.join([chr(i) for i in xrange(256)])
>>
>> Or equivalently:
>>>>>identity = string.maketrans('','')
>
>Wow!  That's handy, not to mention undocumented.  (At least in the
>string module docs.)  Where did you learn that, George?
>

http://python.org/doc/lib/node109.html

>-Peter
>--
>http://mail.python.org/mailman/listinfo/python-list
>
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to