Update: I had a typo and a wrong function call in the code that did not work for me. Thanks to Sidharth for pointing that out.
Sidharth Kuruvila on 2005-03-21 02:43:08 said :
Flatten1:
You seem to have used flatten instead of flatten1.
Sort:
operator.le returns True or False(thich map to 1 and 0 resp.) while sort expects a function that will return one of -1, 0 or 1.
URL: http://pradeepgowda.com/programming/using-the-google-goopyfunctional-module/
© 2010 Pradeep Gowda