List problems in C code ported to Python

Michael Hoffman cam.ac.uk at mh391.invalid
Sun Jan 16 20:01:40 EST 2005


Paul McGuire wrote:

> So "A" == 'a' is true in Python, not true in C.

 >>> "A" == 'a'
False

I think you meant:

 >>> "A" == "A"
True
-- 
Michael Hoffman



More information about the Python-list mailing list