[pypy-dev] __builtin__ module

Boyd Roberts boyd at strakt.com
Wed Jan 22 18:06:55 CET 2003


Thomas Heller wrote:

>I don't think so. For me, this is a fine implementation of chr():
>
>def chr(i):
>    return "\x00\x01\x02x03...\xFF"[i]
>  
>
That's dreadful.

    def chr(i):
        return'%c' % i




More information about the Pypy-dev mailing list