Remove python 2.7-ism.