Filtering out non-readable characters
Peter Hansen
peter at engcorp.com
Sat Jul 16 20:36:01 EDT 2005
Jp Calderone wrote:
> On Sat, 16 Jul 2005 19:01:50 -0400, Peter Hansen <peter at engcorp.com> wrote:
>> George Sakkis wrote:
>>>>>> 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
Perhaps I was unclear. I thought it would be obvious that I knew where
to find the docs for maketrans(), but that the particular behaviour
shown (i.e. arguments of '' having that effect) was undocumented in that
page.
-Peter
More information about the Python-list
mailing list