Testing examples of Raymond Hettinger's python idioms