Does 2to3 not catch this? It took care of it in parsimonious, which uses this extensively. (Boy, I wish they hadn't removed this from the language. I use it all the time.)