Writing Idiomatic Python 3.3