Remove python2.6 function