python 2.5.4 str.endwith() return False in valid check : **I don't need alternate solution.**
I want know why this happen.

I write source parser for makefiles.

    ff = open("module.mk")
    f = ff.readlines()
    ff.close()
    for i in f:
     if ".o \\" in i[-5:]:
      print "Is %s for str: %s" %(i.endswith('.o \\'), i)

I got:

    Is False for str:       bitmap.o \
and so for every check.

You can get module.mk from [github][1]
    


  [1]: https://github.com/scummvm/scummvm/blob/master/engines/access/module.mk